Example #1
0
    /// Macro function that initializes the Board
    public void SetupScene(string sceneToSetup)
    {
        if (sceneToSetup == "Trial")
        {
            previouscities.Clear();
            itemClicks.Clear();
            GameManager.Distancetravelled = 0;
            distanceTravelledValue        = 0;
            setInstance();

            keysON = true;
        }
        else if (sceneToSetup == "TrialAnswer")
        {
            answer = 2;
            //setQuestion ();
            BoardFunctions.RandomizeButtons();
            keysON = true;

            //seeGrid();
        }
    }