public void SetLook(Vector3 pos) { //positionWhereSound = Vector3.zero; //Debug.Log(pos); stayThere = false; inAlert = true; agent.isStopped = true; walk = false; run = false; anim.SetAnimSurprise(); wantToHear = true; states = State.Look; }