コード例 #1
0
    private void Update()
    {
        if (!m_Jump)
        {
            m_Jump = CrossPlatformInputManager.GetButtonDown("Jump");
        }

        if (m_Character.DisableTouchStick)
        {
            walkStick.Disable(true);
            m_Character.EnableTouchStick = false;
        }
        if (m_Character.EnableTouchStick)
        {
            walkStick.Enable(true);
        }
    }