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