private void FixedUpdate() { bool Run = Input.GetKey(KeyCode.LeftShift); bool Shoot = Input.GetKeyDown(KeyCode.Z); float h = Input.GetAxis("Horizontal"); // pasamos los parámetro al caracter controller. m_Character.Move(h, Run, m_Jump, Shoot); m_Jump = false; }