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
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
protected static void SetCreateFunction(Func<T> createMethod)
Parameters
The creation function.