Esempio n. 1
0
	private void OnEnable() {

		_pickupWasPickedUpEvent.Subscribe(HandlePickupWasPickedUpEvent);
		_basicEnemyWasKilledEvent.Subscribe(HandleBasicEnemyWasKilledEvent);
		_bossWasKilledEvent.Subscribe(HandleBossWasKilledEvent);
		_playerDidDieEvent.Subscribe(HandlePlayerDidDieEvent);
		_bossDidHitRecycleTileEvent.Subscribe(HandleBossDidHitRecycleTileEvent);
	}
Esempio n. 2
0
 private void OnEnable()
 {
     _counterDataDidChangeEvent.Subscribe(HandleCounterDataDidChangeEvent);
     _enemyWasHitEvent.Subscribe(HandleEnemyWasHitEvent);
     _bossDidSpawnEvent.Subscribe(HandleBossDidSpawnEvent);
 }