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

25 lines
811 B
C#

using System;
using UnityAtoms.BaseAtoms;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Reference of type `bool`. Inherits from `EquatableAtomReference&lt;bool, BoolPair, BoolConstant, BoolVariable, BoolEvent, BoolPairEvent, BoolBoolFunction, BoolVariableInstancer, AtomCollection, AtomList&gt;`.
/// </summary>
[Serializable]
public sealed class BoolReference : EquatableAtomReference<
bool,
BoolPair,
BoolConstant,
BoolVariable,
BoolEvent,
BoolPairEvent,
BoolBoolFunction,
BoolVariableInstancer>, IEquatable<BoolReference>
{
public BoolReference() : base() { }
public BoolReference(bool value) : base(value) { }
public bool Equals(BoolReference other) { return base.Equals(other); }
}
}