AddComponent<T>(in T)
Attaches a component of type T to this element.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
AddComponent<T>(T)
public void AddComponent<T>(in T value) where T : struct, IVisualElementComponent