예제 #1
0
    void Awake()
    {
        cameraController = Camera.main.GetComponent <CameraController>();
        gameSpeedManager = GetComponent <GameSpeedUpdater>();
        menuManager      = GetComponent <UIMenuManager>();

        gameSpeedManager.RegisterObject(this);

        InitGame();
    }
예제 #2
0
 public void RegisterUpdatableObject(GameObjectUpdatable updatable)
 {
     gameSpeedManager.RegisterObject(updatable);
 }
예제 #3
0
    void Awake()
    {
        cameraController = Camera.main.GetComponent<CameraController>();
        gameSpeedManager = GetComponent<GameSpeedUpdater>();
        menuManager = GetComponent<UIMenuManager>();

        gameSpeedManager.RegisterObject(this);

        InitGame();
    }