Пример #1
0
 // Use this for initialization
 void Start()
 {
     cp_Ref = GameObject.FindObjectOfType <CheckpointValues>();
     //ObjectivePlayer = GetComponent<AudioSource>();
     subRef = this.GetComponentInChildren <SubtitleManager>();
     //SetState_CLOTHES();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     //Bigfoot = GameObject.Find("Bigfoot");
     playermovement_Ref = Bigfoot.GetComponent <PlayerMovement>();
     CameraAnimation    = IntroCamera.GetComponent <Animation>();
     fadeIn_Ref         = GameObject.Find("Cutscenes Manager").GetComponent <FadeInGame>();
     subtitlesRef       = GameObject.FindObjectOfType <SubtitleManager>().GetComponent <SubtitleManager>();
     cpvRef             = GameObject.FindObjectOfType <CheckpointValues>().GetComponent <CheckpointValues>();
     IntroCamera.SetActive(false);
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     //Bigfoot = GameObject.Find("Bigfoot");
     checkpointValues_ref = GameObject.Find("GameManager").GetComponent <CheckpointValues>();
 }