Class FastAction<A, B>
Alternative Action delegate with increased performance when adding or removing delegates.
Inheritance
FastAction<A, B>
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public class FastAction<A, B>
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(Action<A, B>)
Declaration
public void Add(Action<A, B> rhs)
Parameters
Type |
Name |
Description |
Action<A, B> |
rhs |
|
Call(A, B)
Declaration
public void Call(A a, B b)
Parameters
Type |
Name |
Description |
A |
a |
|
B |
b |
|
Remove(Action<A, B>)
Declaration
public void Remove(Action<A, B> rhs)
Parameters
Type |
Name |
Description |
Action<A, B> |
rhs |
|