mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-30 20:02:49 -05:00
25 lines
861 B
C#
25 lines
861 B
C#
|
using System;
|
||
|
using UnityAtoms.BaseAtoms;
|
||
|
|
||
|
namespace UnityAtoms.BaseAtoms
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Reference of type `double`. Inherits from `EquatableAtomReference<double, DoublePair, DoubleConstant, DoubleVariable, DoubleEvent, DoublePairEvent, DoubleDoubleFunction, DoubleVariableInstancer, AtomCollection, AtomList>`.
|
||
|
/// </summary>
|
||
|
[Serializable]
|
||
|
public sealed class DoubleReference : EquatableAtomReference<
|
||
|
double,
|
||
|
DoublePair,
|
||
|
DoubleConstant,
|
||
|
DoubleVariable,
|
||
|
DoubleEvent,
|
||
|
DoublePairEvent,
|
||
|
DoubleDoubleFunction,
|
||
|
DoubleVariableInstancer>, IEquatable<DoubleReference>
|
||
|
{
|
||
|
public DoubleReference() : base() { }
|
||
|
public DoubleReference(double value) : base(value) { }
|
||
|
public bool Equals(DoubleReference other) { return base.Equals(other); }
|
||
|
}
|
||
|
}
|