// Use this for initialization void Start() { //_charCam.SetActive(false); CamPanScript = GameObject.FindGameObjectWithTag("Camera").GetComponent <CameraPanning>(); _dScript = GameObject.FindGameObjectWithTag("GulnazBody").GetComponent <DialogueScript>(); _camChar.GetComponent <Camera>(); _movieCam.GetComponent <Camera>(); _camChar.enabled = false; deshControl = GameObject.FindGameObjectWithTag("desh").GetComponent <Animator>(); _desh = GameObject.FindGameObjectWithTag("desh").GetComponent <NavMeshAgent>(); _moveScript = GameObject.FindGameObjectWithTag("Player").GetComponent <MovementController>(); _dTutScript = GameObject.FindGameObjectWithTag("desh").GetComponent <DeshTutorial>(); _Gulnaz = GameObject.FindGameObjectWithTag("Player"); }
// Use this for initialization void Start() { _dScript = _dScript.GetComponent <DialogueScript>(); _deshScript = _deshScript.GetComponent <DeshTutorial>(); _pigScript = _pigScript.GetComponent <NewPigScript>(); _movementScript = _movementScript.GetComponent <MovementController>(); _waterWheel = _waterWheel.GetComponent <Animator>(); _sawBlade = _sawBlade.GetComponent <Animator>(); ArchuraAnim = ArchuraHimself.GetComponent <Animator>(); jumpSequence.SetActive(false); _camera = _camera.GetComponent <Transform>(); _dScript.hasDialogueEnd = true; _orignalRot = _camera.transform.rotation; }
// Use this for initialization void Start() { //_charCam.SetActive(false); CamPanScript = GameObject.FindGameObjectWithTag("Camera").GetComponent<CameraPanning>(); _dScript = GameObject.FindGameObjectWithTag("GulnazBody").GetComponent<DialogueScript>(); _camChar.GetComponent<Camera>(); _movieCam.GetComponent<Camera>(); _camChar.enabled = false; deshControl = GameObject.FindGameObjectWithTag("desh").GetComponent<Animator>(); _desh = GameObject.FindGameObjectWithTag("desh").GetComponent<NavMeshAgent>(); _moveScript = GameObject.FindGameObjectWithTag("Player").GetComponent<MovementController>(); _dTutScript = GameObject.FindGameObjectWithTag("desh").GetComponent<DeshTutorial>(); _Gulnaz = GameObject.FindGameObjectWithTag("Player"); }
// Use this for initialization void Start () { _dScript = _dScript.GetComponent<DialogueScript>(); _deshScript = _deshScript.GetComponent<DeshTutorial>(); _pigScript = _pigScript.GetComponent<NewPigScript>(); _movementScript = _movementScript.GetComponent<MovementController>(); _waterWheel = _waterWheel.GetComponent<Animator>(); _sawBlade = _sawBlade.GetComponent<Animator>(); ArchuraAnim = ArchuraHimself.GetComponent<Animator>(); jumpSequence.SetActive(false); _camera = _camera.GetComponent<Transform>(); _dScript.hasDialogueEnd = true; _orignalRot = _camera.transform.rotation; }