void Awake() { if (instance == null) { instance = this; } }
private IEnumerable <int> ChangeNumbers(List <int> list, ChangeNum del) { foreach (int i in list) { yield return(del(i)); } }
public override int GetHashCode() { int hash = 1; if (ClothesGoalType != 0) { hash ^= ClothesGoalType.GetHashCode(); } if (ChangeNum != 0) { hash ^= ChangeNum.GetHashCode(); } if (ExtraNum != 0) { hash ^= ExtraNum.GetHashCode(); } return(hash); }