UltEventBase.

AddPersistentCall<T>(T, Delegate) Method

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, Delegate method) 
    where T : UltEventBase, new()

Type Parameters

Name Description
T

Parameters

Name Type Description
ultEvent T
method Delegate

Return Value

Type Description
PersistentCall