docs.unity3d.com
    Show / Hide Table of Contents

    Class FastAction<A, B, C>

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

    Inheritance
    Object
    FastAction<A, B, C>
    Namespace: TMPro
    Syntax
    public class FastAction<A, B, C> : 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.

    C

    The third parameter of the method that this delegate encapsulates.

    Methods

    Add(System.Action<A, B, C>)

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

    Call(A, B, C)

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

    Remove(System.Action<A, B, C>)

    Declaration
    public void Remove(System.Action<A, B, C> rhs)
    Parameters
    Type Name Description
    System.Action<A, B, C> rhs
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023