Esempio n. 1
0
 public override void SelfSpellInitialization()
 {
     GetComponent <TimedDestroyer>().enabled = false;
     transform.localScale *= 2f / 3f;
     if (MagicScript != null)
     {
         MagicScript.AddSpellToUpdateList(this);
     }
     GetComponent <Collider>().enabled = false;
 }
Esempio n. 2
0
 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);
 }