| MessageDisplayDialogDataCreateMessageDialog Method (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
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,
string secondaryText,
Sprite mainImage,
Sprite secondaryImage,
float durationInSeconds,
int priority,
Action onOkButton,
Action onCancelButton
)
Parameters
- title
- Type: SystemString
- mainText
- Type: SystemString
- secondaryText
- Type: SystemString
- mainImage
- Type: Sprite
- secondaryImage
- Type: Sprite
- durationInSeconds
- Type: SystemSingle
- priority
- Type: SystemInt32
- onOkButton
- Type: SystemAction
- onCancelButton
- Type: SystemAction
Return Value
Type:
MessageDisplayDialogDataSee Also