Click or drag to resize

MessageDisplayDialogData Methods

The MessageDisplayDialogData type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateControllerMessageDialog
Creates a new instance with a layout that has a picture of the controller currently used, and text for each button describing it's functions. To change the text that is displayed for each of the buttons, you can override the following NamedText key entries. Note: If you override the key AND set the text to empty, it will hide the button from the dialog DIALOG_CONTROLLER_TRACKPAD_TOP_PRESSED For Oculus this is when the Thumbstick is pulled upwards and pressed down DIALOG_CONTROLLER_TRACKPAD_BTM_PRESSED For Oculus this is when the Thumbstick is pulled downwards and pressed down DIALOG_CONTROLLER_MENU_BTN_PRESSED For Oculus this is either the X or the A button on either controller DIALOG_CONTROLLER_SYSTEM_BTN_PRESSED For Oculus this is either the Y or the B button on either controller DIALOG_CONTROLLER_TRIGGER_PULLED For Oculus this is the index finger trigger DIALOG_CONTROLLER_GRIP_BTN_PRESSED For Oculus this is the hand trigger
Public methodStatic memberCreateMessageDialog(Notification)
Creates a new instance with a notification message layout with no buttons
Public methodStatic memberCreateMessageDialog(String, String, Sprite, Single, Int32, Action, Action)
Creates a new instance with a layout that includes a single column of text and an optional image
Public methodStatic memberCreateMessageDialog(String, String, Texture, Single, Int32, Action, Action)
Creates a new instance with a layout that includes a single column of text and an optional image
Public methodStatic memberCreateMessageDialog(String, String, Sprite, String, Single, Int32, Action, Action)
Creates a new instance with a layout that includes a single column of text and an optional image
Public methodStatic memberCreateMessageDialog(String, String, Texture, String, Single, Int32, Action, Action)
Creates a new instance with a layout that includes a single column of text and an optional image
Public methodStatic memberCreateMessageDialog(String, String, String, Sprite, Sprite, Single, Int32, Action, Action)
Creates a new instance with a layout that includes a double column of text and an optional image for each column
Public methodStatic memberCreateMessageDialog(String, String, String, Texture, Texture, Single, Int32, Action, Action)
Creates a new instance with a layout that includes a single column of text and an optional image
Public methodStatic memberCreateMessageDialog(String, String, String, Sprite, Sprite, String, String, Single, Int32, Action, Action)
Creates a new instance with a layout that includes a double column of text and an optional image for each column
Public methodStatic memberCreateMessageDialog(String, String, String, Texture, Texture, String, String, Single, Int32, Action, Action)
Creates a new instance with a layout that includes a single column of text and an optional image
Public methodStatic memberCreateProgressMessageDialog(String, Single)
Creates a new instance with a layout that has a progress bar and some text
Public methodStatic memberCreateProgressMessageDialog(String, Single, Int32)
Creates a new instance with a layout that has a progress bar and some text
Public methodStatic memberCreateProgressMessageDialog(String, Color, Single)
Creates a new instance with a layout that has a progress bar and some text
Public methodStatic memberCreateProgressMessageDialog(String, Color, Single, Int32)
Creates a new instance with a layout that has a progress bar and some text
Public methodPauseTimer
Pause or unpause the timer
Public methodTryToLocalise
Attempt to localise all the text fields
Top
See Also