Example #1
0
 void Start()
 {
     pMM           = FindObjectOfType <ProgressionMeterManager>();
     aPS           = FindObjectOfType <ArchingProjectileSpawner>();
     RespawnPoint  = GameObject.Find("RespawnPoint").GetComponent <Transform>();
     progressValue = 0;
     nPC_Detection = FindObjectOfType <NPC_Detection>();
 }
Example #2
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>();
    }
 void Start()
 {
     APS      = FindObjectOfType <ArchingProjectileSpawner>();
     LGM      = FindObjectOfType <LearningGrillManager>();
     startPos = this.transform.position;
 }