private void TouchInputUpdate(LMTouchCtrl touch) { if (touch == null) { return; } if (touch.IsTouched) { m_playerCtrl.MoveByTouch(touch.CurrentPosition); } if (touch.IsTouched) { TGUtility.DrawHeatmap2D(touch.ScreenPosition); } }
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); } }