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>(); }
private void OnDisable() { onSpawnSpell -= CheckSpellCombo; }