Пример #1
0
 void Start()
 {
     Screen.orientation = ScreenOrientation.LandscapeLeft;
     Gameoptions.Start();
     Debug.Log("Startup Complete");
     GUIScale.SetAspectRatio();
     GUIScale.SetGuiMatrix();
 }
Пример #2
0
    // Use this for initialization
    void Start()
    {
        Screen.orientation  = ScreenOrientation.LandscapeLeft;
        _timer              = 0.0f;
        Screen.sleepTimeout = SleepTimeout.NeverSleep;

        Gameoptions.Start();
        _countList         = new int [6];
        _lockTimer         = 0;
        _gameStateTimer    = 0;
        _gameState         = EDU_GAMESTATES.STARTUP;
        _stateStart        = true;
        _correctBurstTimer = 0;
    }