文档

Unity Engine

Unity Engine

SetCreateFunction(Func<T>)

Allows to provide a function to create the event instance without relying on Activator.CreateInstance.
阅读时间1 分钟最后更新于 1 个月前

Definition

protected static void SetCreateFunction(Func<T> createMethod)

Parameters

createMethod

The creation function.