Class BeforeSayEventArgs
Event arguments which allows you to modify how/where the text is rendered and control how the speech is skipped (assuming you configure External in your ISayConfig).
Inheritance
System.Object
BeforeSayEventArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public class BeforeSayEventArgs
Constructors
| Improve this Doc View SourceBeforeSayEventArgs(ILabel, Action)
Initializes a new instance of the BeforeSayEventArgs class.
Declaration
public BeforeSayEventArgs(ILabel label, Action skip)
Parameters
Type | Name | Description |
---|---|---|
ILabel | label | Label. |
System.Action | skip | Skip. |
Properties
| Improve this Doc View SourceLabel
The text label which will be displayed to the user.
Declaration
public ILabel Label { get; set; }
Property Value
Type | Description |
---|---|
ILabel | The label. |
Skip
An action you can call to skip the text, for implementing custom text skipping.
Declaration
public Action Skip { get; }
Property Value
Type | Description |
---|---|
System.Action | The skip. |