SetCreateFunction(Func<T>)
Allows to provide a function to create the event instance without relying on Activator.CreateInstance.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
protected static void SetCreateFunction(Func<T> createMethod)
Parameters
The creation function.