void Awake() { weaponManager = GetComponent <WeaponManager>(); playerSprintAndCrouch = GetComponent <PlayerSprintAndCrouch>(); zoomCameraAnim = transform.Find(Tags.LOOK_ROOT).transform.Find(Tags.ZOOM_CAMERA).GetComponent <Animator>(); crosshair = GameObject.FindWithTag(Tags.CROSSHAIR); }
void Awake() { character_Controller = GetComponent <CharacterController>(); sprintncrouch = GetComponent <PlayerSprintAndCrouch>(); }
void Start() { playerSprintAndCrouch = GetComponent <PlayerSprintAndCrouch>(); }