private void InitNativeController()
 {
     m_NativeController = new NativeController();
     if (m_NativeController.Init())
     {
         Inited = true;
         NRDebug.Log("NRControllerProvider Init Succeed");
     }
     else
     {
         m_NativeController = null;
         Debug.LogError("NRControllerProvider Init Failed !!");
     }
     m_NeedInit = false;
 }
        private void InitNativeController()
        {
            m_NativeController = new NativeController();
#if !UNITY_EDITOR_OSX
            if (m_NativeController.Init())
            {
                Inited = true;
                NRDebugger.Log("NRControllerProvider Init Succeed");
            }
            else
            {
                m_NativeController = null;
                Debug.LogError("NRControllerProvider Init Failed !!");
            }
#endif
            m_NeedInit = false;
        }
Пример #3
0
        private void InitNativeController()
        {
            m_NativeController = new NativeController();
            if (m_NativeController.Init())
            {
                Inited = true;
                NRDebugger.Log("NRControllerProvider Init Succeed");
            }
            else
            {
                m_NativeController = null;
                NRDebugger.LogError("NRControllerProvider Init Failed !!");
            }

#if !UNITY_EDITOR
            NRDebugger.Log("[NRInput] version:" + GetVersion(0));
#endif
            m_NeedInit = false;
        }