using System; namespace UnityAtoms { public abstract class EquatableAtomVariable : AtomVariable where T : IEquatable where P : unmanaged, IPair where E1 : AtomEvent where E2 : AtomEvent

where F : AtomFunction { protected override bool ValueEquals(T other) { return (_value == null && other == null) || (_value != null && _value.Equals(other)); } } }