Пример #1
0
    public static void StartGame()
    {
        controlling    = true;
        playing        = true;
        Time.timeScale = 1f;

        score = 0;
        playerController.gameObject.SetActive(true);
        boundController.Progress = 1f;
        playerController.Reset();
        collectableGenerator.Reset();
        boundController.UpdateNoSmoothing();
        audioController.PlayAmbient();

        uiStateManager.GameStart();
    }