docs.unity.cn
    Show / Hide Table of Contents

    Class FastAction<A>

    Alternative Action delegate with increased performance when adding or removing delegates.

    Inheritance
    Object
    FastAction<A>
    Namespace: TMPro
    Syntax
    public class FastAction<A> : object
    Type Parameters
    Name Description
    A

    The parameter of the method that this delegate encapsulates.

    Methods

    Add(System.Action<A>)

    Declaration
    public void Add(System.Action<A> rhs)
    Parameters
    Type Name Description
    System.Action<A> rhs

    Call(A)

    Declaration
    public void Call(A a)
    Parameters
    Type Name Description
    A a

    Remove(System.Action<A>)

    Declaration
    public void Remove(System.Action<A> rhs)
    Parameters
    Type Name Description
    System.Action<A> rhs
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, March 9, 2022
    Terms of use