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);
 }
Exemplo n.º 2
0
        private void LevelController_OnLevelReady(object sender, LevelSpawnData e)
        {
            var position = e.entry.transform.position + e.entry.transform.right;

            playerController.SetPlayerPosition(position);
        }