using System; namespace UnityAtoms { [EditorIcon("atom-icon-lush")] public abstract class EquatableAtomVariable : AtomVariable where T : IEquatable where P : struct, 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)); } } }