// Use this for initialization void Start() { frandCounter = GameObject.Find("FrandCounter"); fc = frandCounter.GetComponent <FrandCounter>(); spoopMeter = GameObject.Find("Spoop Meter"); sm = spoopMeter.GetComponent <SpoopMeterScript>(); spooped = false; }
//audio source stuff if time // Use this for initialization void Start() { //get collider bc = GetComponent <BoxCollider> (); //FrandCounter object canvas = GameObject.Find("Canvas").GetComponent <Canvas>(); fc = canvas.GetComponentInChildren <FrandCounter> (); }
// Use this for initialization void Start() { corgi = GameObject.Find("Player 1"); frandCounter = GameObject.Find("FrandCounter"); fc = frandCounter.GetComponent <FrandCounter>(); psb = frandCounter.GetComponent <PortraitSwitchboard>(); pathfinder = GetComponent <NavMeshAgent>(); corgiColliderRadius = corgi.GetComponent <CapsuleCollider>().radius; colliderRadius = GetComponent <CapsuleCollider>().radius; found = false; }
// Use this for initialization void Start() { //AUDIO SOURCE ON CORGI dogSong = this.GetComponent <AudioSource> (); //FrandCounter object canvas = GameObject.Find("Canvas").GetComponent <Canvas>(); fc = canvas.GetComponentInChildren <FrandCounter> (); //Music Manager script audioManager = GameObject.Find("Music Man"); mm = audioManager.GetComponent <MusicManager>(); }
// Use this for initialization void Start() { img = GetComponent <Image>(); frandCounter = GameObject.Find("FrandCounter"); fc = frandCounter.GetComponent <FrandCounter>(); }