Exemple #1
0
 public virtual void OnSpellGrabNPC(GameObject nPC)
 {
     caster     = nPC;
     isPlayer   = false;
     hasEnemies = false;
     curCast    = MyCastState.Held;
 }
Exemple #2
0
 public virtual void OnSpellGrab()
 {
     //find out if holder is GameObject.FindGameObjectWithTag("Player") somehow
     caster     = GameObject.FindGameObjectWithTag("Player");
     isPlayer   = true;
     hasEnemies = false;
     curCast    = MyCastState.Held;
 }