// Use this for initialization void Start() { controller = GetComponent <CharacterController>(); animator = GetComponent <Animator>(); yLook = GetComponent <YLook>(); }
// Use this for initialization void Start() { playerYLook = player.GetComponent <YLook>(); }