diff options
author | chai <chaifix@163.com> | 2021-04-07 15:38:57 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-04-07 15:38:57 +0800 |
commit | ff5a3fbf31db349db11bbc5c60ba199d26780f19 (patch) | |
tree | cd8fec7d2910408470dc9d141dc72ac00cd148bf /Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/InputModules/BaseInputModule.cs | |
parent | 6b25723ca33a657882588b2cc3a58101bb9d33e6 (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.cs | 3 |
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 } |