mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Update UIExtension.cs
This commit is contained in:
@@ -85,7 +85,7 @@ public static class UIExtension
|
|||||||
public static bool GetMouseDownUiPos(this UIModule uiModule, out Vector3 screenPos)
|
public static bool GetMouseDownUiPos(this UIModule uiModule, out Vector3 screenPos)
|
||||||
{
|
{
|
||||||
bool hadMouseDown = false;
|
bool hadMouseDown = false;
|
||||||
Vector3 mousePos;
|
Vector3 mousePos = Vector3.zero;
|
||||||
|
|
||||||
#if UNITY_EDITOR || PLATFORM_STANDALONE_WIN
|
#if UNITY_EDITOR || PLATFORM_STANDALONE_WIN
|
||||||
mousePos = Input.mousePosition;
|
mousePos = Input.mousePosition;
|
||||||
|
Reference in New Issue
Block a user