RequiresElementOfTypeAttribute(Type)
Initializes the attribute with the required owner element type.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public RequiresElementOfTypeAttribute(Type elementType)
Parameters
A VisualElement subclass.