AddComponent<T>(in T)
Attaches a component of type T to this element.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
AddComponent<T>(T)
public void AddComponent<T>(in T value) where T : struct, IVisualElementComponent