void Start() { highlightZebMeercat01 = GameObject.Find("highlightZebMeercat01"); highlightZebRabbit01 = GameObject.Find("highlightZebRabbit01"); highlightZebRabbit02 = GameObject.Find("highlightZebRabbit02"); highlightZebRabbit03 = GameObject.Find("highlightZebRabbit03"); highlightZebRabbit04 = GameObject.Find("highlightZebRabbit04"); highlightZebTeller01 = GameObject.Find("highlightZebTeller01"); highlightZebTeller02 = GameObject.Find("highlightZebTeller02"); highlightZebTeller03 = GameObject.Find("highlightZebTeller03"); highlightZebTeller04 = GameObject.Find("highlightZebTeller04"); moneyTeller01 = GameObject.Find("moneyTeller01"); moneyTeller02 = GameObject.Find("moneyTeller02"); moneyTeller03 = GameObject.Find("moneyTeller03"); moneyTeller04 = GameObject.Find("moneyTeller04"); monkey = GameObject.Find("monkey"); monkeyScript = GameObject.Find("monkey").GetComponent <monkey_Level_09>(); timerM1_10secondsScript = GameObject.Find("timerM1_10seconds").GetComponent <timerM1_10seconds>(); timerR1_10secondsScript = GameObject.Find("timerR1_10seconds").GetComponent <timerR1_10seconds>(); timerR2_10secondsScript = GameObject.Find("timerR2_10seconds").GetComponent <timerR2_10seconds>(); timerR3_10secondsScript = GameObject.Find("timerR3_10seconds").GetComponent <timerR3_10seconds>(); timerR4_10secondsScript = GameObject.Find("timerR4_10seconds").GetComponent <timerR4_10seconds>(); timerT1_10secondsScript = GameObject.Find("timerT1_10seconds").GetComponent <timerT1_10seconds>(); timerT2_10secondsScript = GameObject.Find("timerT2_10seconds").GetComponent <timerT2_10seconds>(); timerT3_10secondsScript = GameObject.Find("timerT3_10seconds").GetComponent <timerT3_10seconds>(); timerT4_10secondsScript = GameObject.Find("timerT4_10seconds").GetComponent <timerT4_10seconds>(); anim = this.GetComponent <Animator>(); }
void Start() { monkeyScript = GameObject.Find("monkey").GetComponent <monkey_Level_09>(); zebraScript = GameObject.Find("zebra").GetComponent <zebra_Level_09>(); rhinoScript = GameObject.Find("rhino").GetComponent <rhino_Level_09>(); gorillaScript = GameObject.Find("gorilla").GetComponent <gorilla_Level_09>(); dogFightDustScript = GameObject.Find("dogFightDust").GetComponent <dogFightDust>(); monkey = GameObject.Find("monkey"); zebra = GameObject.Find("zebra"); rhino = GameObject.Find("rhino"); dogLimitArea = GameObject.Find("dogLimitArea"); anim = this.GetComponent <Animator>(); highlightZebMeercat01 = GameObject.Find("highlightZebMeercat01"); highlightZebRabbit01 = GameObject.Find("highlightZebRabbit01"); highlightZebRabbit02 = GameObject.Find("highlightZebRabbit02"); highlightZebRabbit03 = GameObject.Find("highlightZebRabbit03"); highlightZebRabbit04 = GameObject.Find("highlightZebRabbit04"); highlightZebTeller01 = GameObject.Find("highlightZebTeller01"); highlightZebTeller02 = GameObject.Find("highlightZebTeller02"); highlightZebTeller03 = GameObject.Find("highlightZebTeller03"); highlightZebTeller04 = GameObject.Find("highlightZebTeller04"); highlightZebSafebox = GameObject.Find("highlightZebSafebox"); highlightZebSafebox02 = GameObject.Find("highlightZebSafebox02"); highlightZebSafebox03 = GameObject.Find("highlightZebSafebox03"); }