Ejemplo n.º 1
0
    public void StartList(string s)
    {
        ui.NewPage("Questions");
        finished = false;
        switch (s)
        {
        case "Soda":
            GenerateObject(sodas);
            break;

        default:
            string[] list = s.Split(',');
            GenerateObject(list);
            break;
        }
    }
Ejemplo n.º 2
0
 public void StartCustom()
 {
     panel.SetActive(false);
     ui.NewPage("Custom");
     inputFieldText.text = "List name";
     s        = "";
     sDisplay = "";
     i        = 0;
 }