Example #1
0
    public void onContinueClick()
    {
        bool checkStatus = false;

        checkStatus = ShorterFunctions.ExpStatus();

        if (!checkStatus)
        {
            if (ShorterFunctions.levelID == 1)
            {
                Application.LoadLevel(ShorterFunctions.geometry);
            }
            else if (ShorterFunctions.levelID == 2)
            {
                Application.LoadLevel(ShorterFunctions.distal_geometry);
            }
        }
        else
        {
            Application.LoadLevel("End");
        }
    }