// 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 () { _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; }