Modal Dialogue
Last updated
Last updated
Manages a modal dialog which can be presented to the user.
Cancels any existing dialog.
Syntax[Sansar.Script.Interface] public Cancel ()
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
The message displayed on the dialog.
SyntaxValue
The string displayed on the dialog.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
SyntaxValue
String response from the last show call.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Shows a Modal Dialog on the screen.
SyntaxParameters
message
Text of the dialog.
leftButton
Text of the left button.
rightButton
Text of the right button.
Returns
The internal event id for the completion event.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Shows a Modal Dialog on the screen.
SyntaxParameters
message
Text of the dialog.
leftButton
Text of the left button.
rightButton
Text of the right button.
handler
Handler to be called when the event completes.
Returns
The internal event id for the completion event.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Shows a Modal Dialog on the screen.
SyntaxParameters
message
Text of the dialog.
leftButton
Text of the left button.
rightButton
Text of the right button.
handler
Handler to be called when the event completes.
Returns
The internal event id for the completion event.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
A string representation of this object.
SyntaxReturns
A string representation of this object.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
[get: Sansar.Script.Interface] public Message { get; }
[get: Sansar.Script.Interface] public Response { get; }
[Sansar.Script.Interface] public Show ( message, leftButton, rightButton)
[Sansar.Script.Interface] public override ToString ()