void Start() { monkeyScript = GameObject.Find("monkey").GetComponent <monkey_Level_07>(); zebraScript = GameObject.Find("zebra").GetComponent <zebra_Level_07>(); rhinoScript = GameObject.Find("rhino").GetComponent <rhino_Level_07>(); gorillaScript = GameObject.Find("gorilla").GetComponent <gorilla_Level_07>(); 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"); highlightZebTeller05 = GameObject.Find("highlightZebTeller05"); highlightZebTeller06 = GameObject.Find("highlightZebTeller06"); highlightZebSafebox = GameObject.Find("highlightZebSafebox"); highlightZebSafebox02 = GameObject.Find("highlightZebSafebox02"); }
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"); highlightZebTeller05 = GameObject.Find("highlightZebTeller05"); highlightZebTeller06 = GameObject.Find("highlightZebTeller06"); moneyTeller01 = GameObject.Find("moneyTeller01"); moneyTeller02 = GameObject.Find("moneyTeller02"); moneyTeller03 = GameObject.Find("moneyTeller03"); moneyTeller04 = GameObject.Find("moneyTeller04"); moneyTeller05 = GameObject.Find("moneyTeller05"); moneyTeller06 = GameObject.Find("moneyTeller06"); monkey = GameObject.Find("monkey"); monkeyScript = GameObject.Find("monkey").GetComponent <monkey_Level_07>(); 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>(); timerT5_10secondsScript = GameObject.Find("timerT5_10seconds").GetComponent <timerT5_10seconds>(); timerT6_10secondsScript = GameObject.Find("timerT6_10seconds").GetComponent <timerT6_10seconds>(); timerSB_10secondsScript = GameObject.Find("timerSB_10seconds").GetComponent <timerSB_10seconds>(); timerSB02_10secondsScript = GameObject.Find("timerSB02_10seconds").GetComponent <timerSB02_10seconds>(); anim = this.GetComponent <Animator>(); }