Click or drag to resize

MessageDisplayDialogDataCreateControllerMessageDialog Method

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

Namespace:  ImmerseSDK.UI.MessageDisplay
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public static MessageDisplayDialogData CreateControllerMessageDialog(
	string title,
	string mainText
)

Parameters

title
Type: SystemString
mainText
Type: SystemString

Return Value

Type: MessageDisplayDialogData
See Also