RegisterReferenceResolvedCallback(Action<VisualElement>)
Registers a callback for when the reference is resolved from the document. When you register a callback, if the reference is already resolved, the callback is immediately invoked.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void RegisterReferenceResolvedCallback(Action<VisualElement> callback)
Parameters
The callback to invoke when the reference is resolved.