Ejemplo n.º 1
0
 public GameStateController(PlayerBase _player, PlayerDataBase _playerData, PlatformControllerBase _platformController, MonoBehaviour _mono)
 {
     player             = _player;
     mono               = _mono;
     playerData         = _playerData;
     platformController = _platformController;
 }
Ejemplo n.º 2
0
 private void InitPlatform()
 {
     platformController = new PlatformController(platformData, playerData, laneData, obstaclesData, collectablesData, collectablesController);
     platformController.Init();
     platformController.PreSpawnPlatforms();
 }