summaryrefslogtreecommitdiff
path: root/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/BaseInputModule.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-04-07 15:38:57 +0800
committerchai <chaifix@163.com>2021-04-07 15:38:57 +0800
commitff5a3fbf31db349db11bbc5c60ba199d26780f19 (patch)
treecd8fec7d2910408470dc9d141dc72ac00cd148bf /Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/BaseInputModule.cs
parent6b25723ca33a657882588b2cc3a58101bb9d33e6 (diff)
*移动目录
Diffstat (limited to 'Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/BaseInputModule.cs')
-rw-r--r--Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/BaseInputModule.cs3
1 files changed, 3 insertions, 0 deletions
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<EventSystem>();
m_EventSystem.UpdateModules(); // °Ñ´Ëinput module¼ÓÈëEventSystem
}