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