public void ToggleExpansion(Toggle t) { EventSystem.current.SetSelectedGameObject(null); soundController.PlaySound(FX.Click); if (t.isOn) { DataStore.AddExpansion(t.name); } else { DataStore.RemoveExpansions(t.name); } }
public void ToggleExpansion(Toggle t) { EventSystem.current.SetSelectedGameObject(null); soundController.PlaySound(FX.Click); if (t.isOn) { DataStore.AddExpansion(t.name); } else { DataStore.RemoveExpansions(t.name); } }