Пример #1
0
    private void Awake()
    {
        if (Manager == null)
        {
            Manager = this;
            // DontDestroyOnLoad(this.gameObject);
        }
        else
        {
            Destroy(this.gameObject);
        }

        playerController.Initialize();
        screenManager.Initialize();
        boxController.Initialize();
        GameTime = 120;
    }