Summary
Ensures that `ultEvent` isn't null and adds `method` to its
UltEvents.UltEventBase.PersistentCallsList
.- Assembly
- UltEvents
.dll - Namespace
- UltEvents
- Containing Type
- UltEventBase
Syntax
public static PersistentCall AddPersistentCall<T>(ref T ultEvent, Action method)
where T : UltEventBase, new()
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
ultEvent | T | |
method | Action |
Return Value
Type | Description |
---|---|
PersistentCall |