private void LevelController_OnLevelReady(object sender, LevelSpawnData e)
 {
     amountOfEnemiesDisplayer.SetText(e.enemies);
     //scoreDisplayer.SetText(e.le);
     amountOfAmmunitionDisplayer.SetText(playerController.Cartridges);
     amountOfBulletsDisplayer.SetText(playerController.Player.Bullets);
 }
Beispiel #2
0
        private void LevelController_OnLevelReady(object sender, LevelSpawnData e)
        {
            var position = e.entry.transform.position + e.entry.transform.right;

            playerController.SetPlayerPosition(position);
        }