AltaEvent<T1, T2, T3, UnityEventT1T2T3>
A class in Root.Township, the global namespace.
Event with three arguments that runs both an inspector UnityEvent and a C# event, logging handler errors instead of throwing.
- Listed in Global namespace: A to B
- Inherits or implements
IAltaEvent<T1, T2, T3>,IAltaEventValidation - Derived types
PickupDockedEvent
Constructors
| Member | What it is |
|---|---|
AltaEvent() | Creates an AltaEvent with default values. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private static Logger logger | Shared AltaEvent logger, used when a handler throws. |
private UnityEventT1T2T3 triggered | The serialized inspector UnityEvent, invoked before Invoked. |
Properties
1 private and internal property
Events
| Member | What it is |
|---|---|
event Action<T1, T2, T3> Invoked | C# event raised by Invoke, after the inspector event. |
Methods
| Member | What it is |
|---|---|
void Invoke(T1 argument1, T2 argument2, T3 argument3) | Fires the Inspector event; a handler that throws is logged and doesn't stop the caller. |
static AltaEvent<T1, T2, T3, UnityEventT1T2T3> op_Addition(AltaEvent<T1, T2, T3, UnityEventT1T2T3> altaEvent, Action<T1, T2, T3> eventHandler) | + adds a handler to Invoked. |
static AltaEvent<T1, T2, T3, UnityEventT1T2T3> op_Subtraction(AltaEvent<T1, T2, T3, UnityEventT1T2T3> altaEvent, Action<T1, T2, T3> eventHandler) | - removes a handler from Invoked. |