|
|
|
|
|
|
CollectGarbageOnDemand(); |
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Input_Update(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
void Input_OnEnable() { |
|
|
|
Input.touchRawProcess += LogTouch; |
|
|
|
|
|
|
|
public static int count = 0; |
|
|
|
public void LogTouch(Input.ProcessRawTouchesParam param) { |
|
|
|
_wrapper.OnDrag(new Vector2(param.x, param.y), (int) param.pointerId); |
|
|
|
} |
|
|
|
|
|
|
|
Input.touchRawProcess -= LogTouch; |
|
|
|
Debug.Log($"count {count}"); |
|
|
|
//we only process hover events for desktop applications
|
|
|
|
if (_inputMode == UIWidgetsInputMode.Mouse) { |
|
|
|
if (_isEntered) { |
|
|
|