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