예제 #1
0
    private void TouchInputUpdate(LMTouchCtrl touch)
    {
        if (touch == null)
        {
            return;
        }

        if (touch.IsTouched)
        {
            m_playerCtrl.MoveByTouch(touch.CurrentPosition);
        }


        if (touch.IsTouched)
        {
            TGUtility.DrawHeatmap2D(touch.ScreenPosition);
        }
    }
예제 #2
0
    private void TouchInputUpdate()
    {
        var touch = TGInputSetting.Touch;

        if (touch == null)
        {
            return;
        }

        if (touch.IsTouched)
        {
            m_playerCtrl.MoveByTouch(touch.CurrentPosition);
        }


        if (touch.IsTouched)
        {
            TGUtility.DrawHeatmap2D(touch.ScreenPosition);
        }
    }