Exemplo n.º 1
0
 private void OnEnable()
 {
     if (grillManager == null)
     {
         grillManager = GameObject.FindObjectOfType <LearningGrillManager>();
     }
     LearningGrillManager.MissedIngredientEvent += UpdateUI;
 }
Exemplo n.º 2
0
 private void Awake()
 {
     projectileHolder = this.transform;
     spawnTimer       = 0;
     TargetPoints.AddRange(FindObjectsOfType <TargetPoint>());
     meterFillAmount = meterMaxHeight / 3;
     LGM             = FindObjectOfType <LearningGrillManager>();
     sManager_Ref    = FindObjectOfType <SubtitleManager>();
 }
Exemplo n.º 3
0
    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>();
    }
Exemplo n.º 4
0
 void Start()
 {
     APS      = FindObjectOfType <ArchingProjectileSpawner>();
     LGM      = FindObjectOfType <LearningGrillManager>();
     startPos = this.transform.position;
 }
Exemplo n.º 5
0
 void Start()
 {
     bigfoot = FindObjectOfType <Bigfoot>().gameObject;
     LGM     = FindObjectOfType <LearningGrillManager>();
 }
Exemplo n.º 6
0
 void Start()
 {
     updateObj     = GameObject.FindObjectOfType <UpdateObjective>();
     controlSwitch = GameObject.FindObjectOfType <ControllerSwitch>();
     LGM           = FindObjectOfType <LearningGrillManager>();
 }
Exemplo n.º 7
0
 void Awake()
 {
     LGM         = FindObjectOfType <LearningGrillManager>();
     Splatplayer = GameObject.Find("Target").GetComponent <AudioSource>();
 }