using System; using UnityEngine; namespace UnityAtoms.BaseAtoms { /// /// Variable of type `Collision2D`. Inherits from `AtomVariable<Collision2D, Collision2DPair, Collision2DEvent, Collision2DPairEvent, Collision2DCollision2DFunction>`. /// [EditorIcon("atom-icon-lush")] [CreateAssetMenu(menuName = "Unity Atoms/Variables/Collision2D", fileName = "Collision2DVariable")] public sealed class Collision2DVariable : AtomVariable { protected override bool ValueEquals(Collision2D other) { return _value == other; } } }