Add proper support for InputSystem

This commit is contained in:
Sinai
2021-04-05 16:28:30 +10:00
parent 6ca117b070
commit 09dae6f1d3
8 changed files with 74 additions and 44 deletions

View File

@ -44,13 +44,6 @@ namespace UnityExplorer.Core.Input
public BaseInputModule UIModule => m_inputModule;
internal StandaloneInputModule m_inputModule;
public PointerEventData InputPointerEvent =>
#if CPP
m_inputModule.m_InputPointerEvent;
#else
null;
#endif
public void AddUIInputModule()
{
m_inputModule = UIManager.CanvasRoot.gameObject.AddComponent<StandaloneInputModule>();