Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     dialogueSystemBadger = GameObject.Find("EventSystem").GetComponent <DialogueSystemBadger>();
     dialogueSystemMonk   = GameObject.Find("EventSystem").GetComponent <DialogueSystemMonk>();
     dialogueSystemTinker = GameObject.Find("EventSystem").GetComponent <DialogueSystemTinker>();
     TinkerSAC            = tinker.transform.GetChild(0).GetComponent <SpriteAnimationController>();
     MonkSAC   = monk.transform.GetChild(0).GetComponent <SpriteAnimationController>();
     kettleSac = kettle.GetComponent <SpriteAnimationController>();
     StartCoroutine(DelayedStart());
     TinkerSAC.sendToIdle();
     MonkSAC.sendToIdle();
 }
 void Start()
 {
     dialogueSystemBadger = GameObject.Find("EventSystem").GetComponent <DialogueSystemBadger>();
     dialogueSystemTinker = GameObject.Find("EventSystem").GetComponent <DialogueSystemTinker>();
     TinkerSAC            = tinker.transform.GetChild(0).GetComponent <SpriteAnimationController>();
 }