Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     currentLS = GameObject.Find("lifeSpanTrigger").GetComponent <summonLS> ();
     hitKey    = GameObject.Find("lifeSpanTrigger").GetComponent <summonLS> ();
     Inter     = GameObject.Find("keys").GetComponent <randomInst> ();
     anim      = GameObject.Find("proto_babaylan 1").GetComponent <Animator> ();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     Spd = GameObject.Find("keys").GetComponent <randomInst> ();
 }