public void Destroy()
 {
     if (m_ControllerProvider != null)
     {
         m_ControllerProvider.OnDestroy();
         m_ControllerProvider = null;
     }
 }
 private void Init()
 {
     //TXRDevice.Instance.Init();
     // TODO
     // m_VisualManager = gameObject.AddComponent<ControllerVisualManager>();
     // m_VisualManager.Init(m_States);
     m_ControllerProvider = ControllerProviderFactory.CreateControllerProvider(m_States);
 }
Exemple #3
0
        public static ControllerProviderBase CreateControllerProvider(ControllerState[] states)
        {
            ControllerProviderBase provider = CreateControllerProvider(androidControllerProviderType, states);

            return(provider);
        }