Show / Hide Table of Contents

    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 Source

    BeforeSayEventArgs(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 Source

    Label

    The text label which will be displayed to the user.

    Declaration
    public ILabel Label { get; set; }
    Property Value
    Type Description
    ILabel

    The label.

    | Improve this Doc View Source

    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.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX