// Update is called once per frame void FixedUpdate() { float direction = Input.GetAxis("Horizontal"); character.Move(direction); if (m_Jump) { character.Jump(); m_Jump = false; } }
// Update is called once per frame void FixedUpdate() { float direction = Input.GetAxis("Horizontal"); character.Move(direction); if (m_Jump) { character.Jump(); m_Jump = false; } }