Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetCreateFunction(Func<T>)

Allows to provide a function to create the event instance without relying on Activator.CreateInstance.
Read time 1 minuteLast updated 6 days ago

Definition

protected static void SetCreateFunction(Func<T> createMethod)

Parameters

createMethod

The creation function.