예제 #1
0
    void Awake()
    {
        gameConfig = _ioController.ParseGameConfig();
        Init(gameConfig);

        _sceneController.onReady        += SceneReady;
        _physicsController.onRemoveBlue += _uiController.OnRemoveBlue;
        _physicsController.onRemoveRed  += _uiController.OnRemoveRed;
        _physicsController.onOver       += Over;

        _State = State.Idle;
        Spawn(gameConfig);
    }