unity-atoms/Packages/BaseAtoms/Runtime/References/FloatReference.cs
2020-03-19 08:39:43 +01:00

25 lines
836 B
C#

using System;
using UnityAtoms.BaseAtoms;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Reference of type `float`. Inherits from `EquatableAtomReference&lt;float, FloatPair, FloatConstant, FloatVariable, FloatEvent, FloatPairEvent, FloatFloatFunction, FloatVariableInstancer, AtomCollection, AtomList&gt;`.
/// </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); }
}
}