docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FastAction<A, B, C>

    Important

    This package is deprecated. From Unity 2023.2, TextMesh Pro is part of the Unity UI (uGUI) package. For current documentation, refer to TextMesh Pro in the Unity UI package.

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

    Inheritance
    object
    FastAction<A, B, C>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TMPro
    Assembly: Unity.TextMeshPro.dll
    Syntax
    public class FastAction<A, B, C>
    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(Action<A, B, C>)

    Declaration
    public void Add(Action<A, B, C> rhs)
    Parameters
    Type Name Description
    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(Action<A, B, C>)

    Declaration
    public void Remove(Action<A, B, C> rhs)
    Parameters
    Type Name Description
    Action<A, B, C> rhs
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)