예제 #1
0
    // Update is called once per frame
    void FixedUpdate()
    {
        float direction = Input.GetAxis("Horizontal");

        character.Move(direction);
        if (m_Jump)
        {
            character.Jump();
            m_Jump = false;
        }
    }