Esempio n. 1
0
    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.");
        }
    }
Esempio n. 2
0
 void OnClick()
 {
     QSystemController.LoadState(quantumSystemIndex);
 }
Esempio n. 3
0
 public static void Reload()
 {
     QSystemController.Reload();
     instance.Initalize();
 }