Exemple #1
0
 private void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else
     {
         Destroy(this);
     }
 }
Exemple #2
0
 private void OnEnable()
 {
     _bloonSpawner = BloonSpawner.Instance;
     _bloonSpawner.OnBloonSpawned += SetupBloonEvents;
     _gameController.OnGameBegin  += QueueNextRound;
 }