// Use this for initialization void Start() { vxe = VoxelExtractionPointCloud.Instance; myAnim = GetComponent<Animator> (); auSource = GetComponent<AudioSource> (); screenFadeScript = playerTrans.GetComponent<ScreenFade> (); playerGazeScript = playerTrans.GetComponent<TutorialGaze> (); pocketWatch = pWatchPokeScript.gameObject; pWatchPokeScript.enabled = false; SetMeshRenderersInChildren (pocketWatch, false); auSource.pitch = 0.75f; TheSheepDog.transform.position = watchTrans.position; tutorialPhase = TutorialPhase.SetUpHypno; SetMeshRenderersInChildren (tutorialSheep, false); //Disable for now, will use GazeTutorial Later //SetMeshRenderersInChildren (gazeTutorialGameObjects, false); SetMainGameObjects (false); }
// Use this for initialization void Start() { vxe = VoxelExtractionPointCloud.Instance; myAnim = GetComponent<Animator> (); auSource = GetComponent<AudioSource> (); screenFadeScript = playerTrans.GetComponent<ScreenFade> (); playerGazeScript = playerTrans.GetComponent<TutorialGaze> (); pocketWatch = pWatchPokeScript.gameObject; pWatchPokeScript.enabled = false; SetMeshRenderersInChildren (pocketWatch, false); auSource.pitch = 0.75f; biome.setAllMaterials (biome.fadedMaterials [0]); tutorialPhase = TutorialPhase.SetUpHypno; #if GazeTut SetMeshRenderersInChildren (tutorialSheep, false); #endif //Disable for now, will use GazeTutorial Later //SetMeshRenderersInChildren (gazeTutorialGameObjects, false); SetMainGameObjects (false); audioCueManager.playAudioClip (audioCueManager.lookForPocketWatch); }