From ff5a3fbf31db349db11bbc5c60ba199d26780f19 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 7 Apr 2021 15:38:57 +0800 Subject: =?UTF-8?q?*=E7=A7=BB=E5=8A=A8=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UnityEngine.UI/EventSystem/InputModules/BaseInputModule.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/BaseInputModule.cs') diff --git a/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/BaseInputModule.cs b/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/BaseInputModule.cs index 66736d1..f25f3fe 100644 --- a/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/BaseInputModule.cs +++ b/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/BaseInputModule.cs @@ -56,6 +56,9 @@ namespace UnityEngine.EventSystems protected override void OnEnable() { base.OnEnable(); + if(input != null) + { + } m_EventSystem = GetComponent(); m_EventSystem.UpdateModules(); // °Ñ´Ëinput module¼ÓÈëEventSystem } -- cgit v1.1-26-g67d0