Tango User Experience exception listener.
상속: UnityEngine.AndroidJavaProxy
예제 #1
0
        /// <summary>
        /// Register the specified tangoObject.
        /// </summary>
        /// <param name="tangoObject">Tango object.</param>
        public void Register(Object tangoObject)
        {
            if (m_enableUXLibrary)
            {
                ITangoUX tangoUX = tangoObject as ITangoUX;

                if (tangoUX != null)
                {
                    UxExceptionEventListener.RegisterOnUxExceptionEventHandler(tangoUX.OnUxExceptionEventHandler);
                }

                ITangoUXMultithreaded tangoUXMultithreaded = tangoObject as ITangoUXMultithreaded;

                if (tangoUXMultithreaded != null)
                {
                    UxExceptionEventListener.RegisterOnOnUxExceptionEventMultithreadedAvailable(tangoUXMultithreaded.OnUxExceptionEventMultithreadedAvailableEventHandler);
                }
            }
        }
예제 #2
0
 /// <summary>
 /// Disperse any events related to TangoUX functionality.
 /// </summary>
 public void Update()
 {
     UxExceptionEventListener.SendIfAvailable();
 }