Exemplo n.º 1
0
 void Start()
 {
     StageManager.Start();
     TouchManager.Start();
     InfoManager.Start();
     PlayerManager.Start();
     ObstacleManager.Start();
 }
Exemplo n.º 2
0
 void Update()
 {
     StageManager.Update();
     TouchManager.Update();
     InfoManager.Update();
     PlayerManager.Update();
     ObstacleManager.Update();
 }
Exemplo n.º 3
0
        void Awake()
        {
            Debug.Assert(Instance == null);
            Instance = this;

            StageManager    = new StageManager(this);
            TouchManager    = new TouchManager(this);
            InfoManager     = new InfoManager(this);
            PlayerManager   = new Player.Manager(this);
            ObstacleManager = new Obstacle.Manager(this);

            StageManager.Awake();
            TouchManager.Awake();
            InfoManager.Awake();
            PlayerManager.Awake();
            ObstacleManager.Awake();
        }