Register(TElement)
Adds this callback's event handler to the given element.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
Register(T)
public void Register(TElement element)
Parameters
Remarks
If the event handler is already registered for the same phase (either TrickleDown or BubbleUp), this method has no effect.
Refer to the Handle event callbacks and value changes manual page for more information and examples.
This method allows this callback instance to be shared by multiple elements, resulting in a reduced memory footprint.