예제 #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> ();
 }
예제 #2
0
파일: cTxt.cs 프로젝트: fedzki/Espiritwal
 // Use this for initialization
 void Start()
 {
     cText = GameObject.Find("lifeSpanTrigger").GetComponent <summonLS>();
     text  = this.gameObject.GetComponent <Text>();
 }