// 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> (); }
// Use this for initialization void Start() { Spd = GameObject.Find("keys").GetComponent <randomInst> (); }