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() { highlightZebSafebox = GameObject.Find("highlightZebSafebox"); highlightZebSafebox02 = GameObject.Find("highlightZebSafebox02"); explosionScript = GameObject.Find("explosion").GetComponent <safeBoxExplosion_level07>(); explosion02Script = GameObject.Find("explosion02").GetComponent <safeBoxExplosion02_level07>(); rhino = GameObject.Find("rhino"); rhinoScript = GameObject.Find("rhino").GetComponent <rhino_Level_07>(); timerSB_10secondsScript = GameObject.Find("timerSB_10seconds").GetComponent <timerSB_10seconds>(); timerSB02_10secondsScript = GameObject.Find("timerSB02_10seconds").GetComponent <timerSB02_10seconds>(); anim = this.GetComponent <Animator>(); }
void Start() { dog = GameObject.Find("dog"); gorillaScript = GameObject.Find("gorilla").GetComponent <gorilla_Level_07>(); rhinoScript = GameObject.Find("rhino").GetComponent <rhino_Level_07>(); anim = this.GetComponent <Animator>(); safeBoxObject = GameObject.Find("safeBox"); safeBoxObjectopened = GameObject.Find("safeBoxOpened"); moneySafebox = GameObject.Find("moneySafebox"); camera = GameObject.Find("Main Camera").GetComponent <Camera>(); cameraShakeScript = GameObject.Find("Main Camera").GetComponent <cameraZoonChange>(); cameraPos = camera.transform.position; }