void TurnOnPlayer()
 {
     PlayerCamera.SetActive(true);
     IntroCamera.SetActive(false);
     playermovement_Ref.CanMove = true;
     UI.SetActive(true);
     IsHappening = false;
 }
Beispiel #2
0
 void TurnOnPlayer()
 {
     //Bigfoot.SetActive(true);
     PlayerCamera.SetActive(true);
     IntroCamera.SetActive(false);
     playermovement_Ref.enabled = true;
     //UI.SetActive(true);
     SkipText.SetActive(false);
 }
Beispiel #3
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);
 }
 void TurnOffPlayer()
 {
     Bigfoot.transform.position = BigfootPosition.transform.position;
     Bigfoot.transform.LookAt(BusBoy.transform.position);
     PlayerCamera.SetActive(false);
     playermovement_Ref.CanMove = false;
     IntroCamera.SetActive(true);
     UI.SetActive(false);
     IsHappening = true;
 }
 // Use this for initialization
 void Start()
 {
     introCamera = GetComponent <IntroCamera>();
     target      = GameObject.Find("Main Camera");
     exec();
 }