diff options
author | chai <chaifix@163.com> | 2021-07-15 14:51:26 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-07-15 14:51:26 +0800 |
commit | 6cb66f51a668b1d75a7b9f05a9773e6f0165373e (patch) | |
tree | b8f7f9e9cdce5e54f6132f9fbe0641a34e3a3b9a /Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs | |
parent | b4ecae6a60f44a1d3a7cfbdf936519e3090dfbde (diff) |
*misc
Diffstat (limited to 'Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs')
-rw-r--r-- | Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs b/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs index 592ea4d..198d5b0 100644 --- a/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs +++ b/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs @@ -322,6 +322,7 @@ namespace UnityEngine.EventSystems // Save the drag handler as well pointerEvent.pointerDrag = ExecuteEvents.GetEventHandler<IDragHandler>(currentOverGo); + // 只有包含IDragHandler接口时才会触发IInitializePotentialDragHandler接口 if (pointerEvent.pointerDrag != null) ExecuteEvents.Execute(pointerEvent.pointerDrag, pointerEvent, ExecuteEvents.initializePotentialDrag); } |