void Start() { monkeyScript = GameObject.Find("monkey").GetComponent <monkey_Level_08>(); zebraScript = GameObject.Find("zebra").GetComponent <zebra_Level_08>(); rhinoScript = GameObject.Find("rhino").GetComponent <rhino_Level_08>(); gorillaScript = GameObject.Find("gorilla").GetComponent <gorilla_Level_08>(); 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_level08>(); explosion02Script = GameObject.Find("explosion02").GetComponent <safeBoxExplosion02_level08>(); rhino = GameObject.Find("rhino"); rhinoScript = GameObject.Find("rhino").GetComponent <rhino_Level_08>(); 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_08>(); rhinoScript = GameObject.Find("rhino").GetComponent <rhino_Level_08>(); anim = this.GetComponent <Animator>(); safeBoxObject02 = GameObject.Find("safeBox02"); safeBoxObjectopened02 = GameObject.Find("safeBoxOpened02"); moneySafebox02 = GameObject.Find("moneySafebox02"); camera = GameObject.Find("Main Camera").GetComponent <Camera>(); cameraShakeScript = GameObject.Find("Main Camera").GetComponent <cameraZoonChange>(); cameraPos = camera.transform.position; }