コード例 #1
0
        protected override void OnStart()
        {
            _resources  = _bootstrap.GetModel(ModelTypes.Resources) as ResourcesDataBase;
            _tracksInfo = _bootstrap.GetModel(ModelTypes.Tracks) as RunTracks;
            _controller = _bootstrap.GetController(ControllerTypes.Run) as RunController;

            _controller.Reset += ResetPool;

            StartCoroutine(InstantiateObjectsRoutine());
        }
コード例 #2
0
 protected override void OnStart()
 {
     _runController              = _bootstrap.GetController(ControllerTypes.Run) as RunController;
     _runController.OnGameStart += GetSaders;
 }