public override int GetHashCode() { //unchecked { int hashCode = DropPieceSimple.GetHashCode(); hashCode = (hashCode * 397) ^ (Positions?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (PositionLerp?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (int)CurrentState; hashCode = (hashCode * 397) ^ HoldTimer.GetHashCode(); return(hashCode); } }