private void OnEnable() { if (grillManager == null) { grillManager = GameObject.FindObjectOfType <LearningGrillManager>(); } LearningGrillManager.MissedIngredientEvent += UpdateUI; }
private void Awake() { projectileHolder = this.transform; spawnTimer = 0; TargetPoints.AddRange(FindObjectsOfType <TargetPoint>()); meterFillAmount = meterMaxHeight / 3; LGM = FindObjectOfType <LearningGrillManager>(); sManager_Ref = FindObjectOfType <SubtitleManager>(); }
void Start() { if (dadNPC == null) { dadNPC = GameObject.FindObjectOfType <DadScriptedEvent>().gameObject.GetComponent <NPC>(); } LGM = FindObjectOfType <LearningGrillManager>(); aPS = FindObjectOfType <ArchingProjectileSpawner>(); detection = GameObject.FindObjectOfType <DetectionCameraManager>(); controller = GameObject.FindObjectOfType <ControllerSwitch>(); }
void Start() { APS = FindObjectOfType <ArchingProjectileSpawner>(); LGM = FindObjectOfType <LearningGrillManager>(); startPos = this.transform.position; }
void Start() { bigfoot = FindObjectOfType <Bigfoot>().gameObject; LGM = FindObjectOfType <LearningGrillManager>(); }
void Start() { updateObj = GameObject.FindObjectOfType <UpdateObjective>(); controlSwitch = GameObject.FindObjectOfType <ControllerSwitch>(); LGM = FindObjectOfType <LearningGrillManager>(); }
void Awake() { LGM = FindObjectOfType <LearningGrillManager>(); Splatplayer = GameObject.Find("Target").GetComponent <AudioSource>(); }