public override void SelfSpellInitialization() { GetComponent <TimedDestroyer>().enabled = false; transform.localScale *= 2f / 3f; if (MagicScript != null) { MagicScript.AddSpellToUpdateList(this); } GetComponent <Collider>().enabled = false; }
public override void SelfSpellInitialization() { GetComponent <TimedDestroyer>().enabled = false; GetComponent <SphereCollider>().enabled = false; if (MagicScript != null) { MagicScript.AddSpellToUpdateList(this); } Ray.SetPosition(0, transform.position); Ray.SetPosition(1, transform.position + transform.forward); }