mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-22 16:18:24 -05:00
25 lines
836 B
C#
25 lines
836 B
C#
using System;
|
|
using UnityAtoms.BaseAtoms;
|
|
|
|
namespace UnityAtoms.BaseAtoms
|
|
{
|
|
/// <summary>
|
|
/// Reference of type `float`. Inherits from `EquatableAtomReference<float, FloatPair, FloatConstant, FloatVariable, FloatEvent, FloatPairEvent, FloatFloatFunction, FloatVariableInstancer, AtomCollection, AtomList>`.
|
|
/// </summary>
|
|
[Serializable]
|
|
public sealed class FloatReference : EquatableAtomReference<
|
|
float,
|
|
FloatPair,
|
|
FloatConstant,
|
|
FloatVariable,
|
|
FloatEvent,
|
|
FloatPairEvent,
|
|
FloatFloatFunction,
|
|
FloatVariableInstancer>, IEquatable<FloatReference>
|
|
{
|
|
public FloatReference() : base() { }
|
|
public FloatReference(float value) : base(value) { }
|
|
public bool Equals(FloatReference other) { return base.Equals(other); }
|
|
}
|
|
}
|