Class FastAction<A>
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
FastAction<A>
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public class FastAction<A>
Type Parameters
| Name |
Description |
| A |
The parameter of the method that this delegate encapsulates.
|
Methods
Add(Action<A>)
Declaration
public void Add(Action<A> rhs)
Parameters
| Type |
Name |
Description |
| Action<A> |
rhs |
|
Call(A)
Declaration
Parameters
| Type |
Name |
Description |
| A |
a |
|
Remove(Action<A>)
Declaration
public void Remove(Action<A> rhs)
Parameters
| Type |
Name |
Description |
| Action<A> |
rhs |
|