unity-atoms/Packages/BaseAtoms/Runtime/References/FloatReference.cs

25 lines
836 B
C#
Raw Normal View History

2020-03-01 20:26:06 -05:00
using System;
using UnityAtoms.BaseAtoms;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
2020-03-08 19:37:52 -04:00
/// Reference of type `float`. Inherits from `EquatableAtomReference&lt;float, FloatPair, FloatConstant, FloatVariable, FloatEvent, FloatPairEvent, FloatFloatFunction, FloatVariableInstancer, AtomCollection, AtomList&gt;`.
2020-03-01 20:26:06 -05:00
/// </summary>
[Serializable]
public sealed class FloatReference : EquatableAtomReference<
float,
FloatPair,
FloatConstant,
FloatVariable,
FloatEvent,
FloatPairEvent,
FloatFloatFunction,
FloatVariableInstancer>, IEquatable<FloatReference>
2020-03-01 20:26:06 -05:00
{
public FloatReference() : base() { }
public FloatReference(float value) : base(value) { }
public bool Equals(FloatReference other) { return base.Equals(other); }
}
}