public override int GetHashCode() { if (UnityObject) { return(Position.GetHashCode() ^ UnityObject.GetHashCode()); } return(Position.GetHashCode() ^ Name.GetHashCode()); }