Interface IDialogAction
A dialog action. This is usually text spoken by one of the characters, but it can be any action, which will run in the sequence.
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface IDialogAction
Properties
| Improve this Doc View SourceEnabled
Gets or sets a value indicating whether this IDialogAction is enabled. If it's disabled it will be skipped.
Declaration
bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
| Improve this Doc View SourceRunActionAsync()
Runs the dialog action asynchronously.
Declaration
Task<bool> RunActionAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | True if should continue to the next action, false if should cancel the sequence of actions. |