Click or drag to resize

MessageDisplayDialogDataCreateMessageDialog Method (String, String, Sprite, 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
C#
public static MessageDisplayDialogData CreateMessageDialog(
	string title,
	string mainText,
	Sprite image,
	string imageText,
	float durationInSeconds,
	int priority,
	Action onOkButton,
	Action onCancelButton
)

Parameters

title
Type: SystemString
mainText
Type: SystemString
image
Type: Sprite
imageText
Type: SystemString
durationInSeconds
Type: SystemSingle
priority
Type: SystemInt32
onOkButton
Type: SystemAction
onCancelButton
Type: SystemAction

Return Value

Type: MessageDisplayDialogData
See Also