public void OnDropdownChangeValue() { int value = 0; string drodownSelection = dropdown.options[dropdown.value].text; if (int.TryParse(drodownSelection, out value)) { Debug.Log(drodownSelection); MaterialController.instance.shaderMaxReservedIndex = value; QSystemController.LoadState(); } else { Debug.Log("Failed to convert selection \"" + drodownSelection + "\" into an integer."); } }
void OnClick() { QSystemController.LoadState(quantumSystemIndex); }
public static void Reload() { QSystemController.Reload(); instance.Initalize(); }