public void SelectType(RandomizationType type) { if (type == null) { return; } RandomCheckbox.isOn = type.IsRandom; }
public void SelectType(RandomizationType type) { if (type == null) { return; } for (int i = 0; i < Types.Count; i++) { if (type.GetType() == Types[i].GetType()) { TypeSelection.SetValueWithoutNotify(i); Types[i] = type; RandomCheckbox.isOn = type.IsRandom; SelectionChanged(TypeSelection); return; } } }
public StoreRandomizationEventArgs(RandomizationType type, int index) { Type = type; ListIndex = index; }