| MessageDisplayDialogDataCreateMessageDialog Method (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
Namespace:
ImmerseSDK.UI.MessageDisplay
Assembly:
ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax public static MessageDisplayDialogData CreateMessageDialog(
string title,
string mainText,
Texture image,
string imageText,
float durationInSeconds,
int priority,
Action onOkButton,
Action onCancelButton
)
Parameters
- title
- Type: SystemString
- mainText
- Type: SystemString
- image
- Type: Texture
- imageText
- Type: SystemString
- durationInSeconds
- Type: SystemSingle
- priority
- Type: SystemInt32
- onOkButton
- Type: SystemAction
- onCancelButton
- Type: SystemAction
Return Value
Type:
MessageDisplayDialogDataSee Also