public override int GetHashCode() { int hashCode = -1002186340; hashCode = hashCode * -1521134295 + LabBookId.GetHashCode(); hashCode = hashCode * -1521134295 + Solid.GetHashCode(); hashCode = hashCode * -1521134295 + Ash450.GetHashCode(); hashCode = hashCode * -1521134295 + Ash900.GetHashCode(); hashCode = hashCode * -1521134295 + Organic.GetHashCode(); hashCode = hashCode * -1521134295 + Titanium.GetHashCode(); hashCode = hashCode * -1521134295 + Chalk.GetHashCode(); hashCode = hashCode * -1521134295 + Others.GetHashCode(); hashCode = hashCode * -1521134295 + VocCatId.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(VocAmount); hashCode = hashCode * -1521134295 + Crucible1.GetHashCode(); hashCode = hashCode * -1521134295 + Crucible2.GetHashCode(); hashCode = hashCode * -1521134295 + Crucible3.GetHashCode(); hashCode = hashCode * -1521134295 + Paint1.GetHashCode(); hashCode = hashCode * -1521134295 + Paint2.GetHashCode(); hashCode = hashCode * -1521134295 + Paint3.GetHashCode(); hashCode = hashCode * -1521134295 + Crucible105_1.GetHashCode(); hashCode = hashCode * -1521134295 + Crucible105_2.GetHashCode(); hashCode = hashCode * -1521134295 + Crucible105_3.GetHashCode(); hashCode = hashCode * -1521134295 + Crucible405_1.GetHashCode(); hashCode = hashCode * -1521134295 + Crucible405_2.GetHashCode(); hashCode = hashCode * -1521134295 + Crucible405_3.GetHashCode(); hashCode = hashCode * -1521134295 + Crucible900_1.GetHashCode(); hashCode = hashCode * -1521134295 + Crucible900_2.GetHashCode(); hashCode = hashCode * -1521134295 + Crucible900_3.GetHashCode(); hashCode = hashCode * -1521134295 + Created.GetHashCode(); hashCode = hashCode * -1521134295 + Updated.GetHashCode(); return(hashCode); }
void Awake() { if (instance == null) { instance = this; } else { Destroy(transform.gameObject); } DontDestroyOnLoad(transform.gameObject); }
public void Dispose() { PaintText?.Dispose(); Paint1.Dispose(); Paint2.Dispose(); }