NRSDKApiForUnity
Classes
XRXREALXREALDialogController
Unity.XR.XREAL.XREALDialogController
Inheritance diagram for Unity.XR.XREAL.XREALDialogController:
Unity.XR.XREAL.SingletonMonoBehaviour< T >

Public Member Functions

void ShowOnScreen (GameObject popupUI)
 
void ShowInGlasses (GameObject popupUI)
 
void ShowInGlassesQueue (GameObject popupUI)
 

Additional Inherited Members

- Static Public Member Functions inherited from Unity.XR.XREAL.SingletonMonoBehaviour< T >
static T CreateSingleton ()
 
- Properties inherited from Unity.XR.XREAL.SingletonMonoBehaviour< T >
static T Singleton [get]
 

Detailed Description

Manages the display and queuing for dialog UI elements.

Member Function Documentation

◆ ShowInGlasses()

void Unity.XR.XREAL.XREALDialogController.ShowInGlasses ( GameObject popupUI)

Displays the specified pop-up UI in the glasses screen.

Parameters
popupUI

◆ ShowInGlassesQueue()

void Unity.XR.XREAL.XREALDialogController.ShowInGlassesQueue ( GameObject popupUI)

Adds the specified pop-up UI to the glasses display queue. The pop-up will only be shown when there are no other pop-ups currently displayed on the glasses.

Parameters
popupUI

◆ ShowOnScreen()

void Unity.XR.XREAL.XREALDialogController.ShowOnScreen ( GameObject popupUI)

Displays the specified pop-up UI on the mobile screen.

Parameters
popupUI