void Start() { highlightZebSafebox = GameObject.Find("highlightZebSafebox"); explosionScript = GameObject.Find("explosion").GetComponent <safeBoxExplosion_level04>(); rhino = GameObject.Find("rhino"); rhinoScript = GameObject.Find("rhino").GetComponent <rhino_Level_04>(); timerSB_10secondsScript = GameObject.Find("timerSB_10seconds").GetComponent <timerSB_10seconds>(); anim = this.GetComponent <Animator>(); }
void Start() { rhinoScript = GameObject.Find("rhino").GetComponent <rhino_Level_04>(); 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; }