Ejemplo n.º 1
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>();
    }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     cSwitch = GameObject.Find("Player").GetComponent<ControllerSwitch>();
 }
Ejemplo n.º 3
0
 void Start()
 {
     updateObj     = GameObject.FindObjectOfType <UpdateObjective>();
     controlSwitch = GameObject.FindObjectOfType <ControllerSwitch>();
     LGM           = FindObjectOfType <LearningGrillManager>();
 }