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