From 6cb66f51a668b1d75a7b9f05a9773e6f0165373e Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 15 Jul 2021 14:51:26 +0800 Subject: *misc --- .../UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs') 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(currentOverGo); + // 只有包含IDragHandler接口时才会触发IInitializePotentialDragHandler接口 if (pointerEvent.pointerDrag != null) ExecuteEvents.Execute(pointerEvent.pointerDrag, pointerEvent, ExecuteEvents.initializePotentialDrag); } -- cgit v1.1-26-g67d0