Exemplo n.º 1
0
 void Start()
 {
     onSpawnSpell                  += CheckSpellCombo;
     _enemySpawner                  = GameObject.FindGameObjectWithTag(Tags.ENEMYSPAWNER).GetComponent <EnemySpawner>();
     _projectileSpawnPoint          = GameObject.FindGameObjectWithTag(Tags.SPELLSPAWNPOINT).GetComponent <Transform>();
     _aoeSpawnPoint                 = GameObject.FindGameObjectWithTag(Tags.AOESPAWNPOINT).GetComponent <Transform>();
     _completedSpellParticleSpawner = GameObject.FindGameObjectWithTag(Tags.COMPLETEDSPELLPARTICLESPAWNER).GetComponent <Transform>();
 }
Exemplo n.º 2
0
 private void OnDisable()
 {
     onSpawnSpell -= CheckSpellCombo;
 }