mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-22 16:18:24 -05:00
25 lines
811 B
C#
25 lines
811 B
C#
using System;
|
|
using UnityAtoms.BaseAtoms;
|
|
|
|
namespace UnityAtoms.BaseAtoms
|
|
{
|
|
/// <summary>
|
|
/// Reference of type `bool`. Inherits from `EquatableAtomReference<bool, BoolPair, BoolConstant, BoolVariable, BoolEvent, BoolPairEvent, BoolBoolFunction, BoolVariableInstancer, AtomCollection, AtomList>`.
|
|
/// </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); }
|
|
}
|
|
}
|