docs.unity.cn
    Show / Hide Table of Contents

    Class FastAction<A, B>

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

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

    The first parameter of the method that this delegate encapsulates.

    B

    The second parameter of the method that this delegate encapsulates.

    Methods

    Add(System.Action<A, B>)

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

    Call(A, B)

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

    Remove(System.Action<A, B>)

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