RequiresComponentOfTypeAttribute(Type)
Initializes the attribute with the required component type.
阅读时间1 分钟最后更新于 23 天前
Definition
- Type: Constructor
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public RequiresComponentOfTypeAttribute(Type componentType)
Parameters
A struct decorated with VisualElementComponentAttribute.