文档

Unity Engine


User Manual

Script Reference

Unity Engine


RequiresElementOfTypeAttribute(Type)

Initializes the attribute with the required owner element type.
阅读时间1 分钟最后更新于 1 个月前

Definition

public RequiresElementOfTypeAttribute(Type elementType)

Parameters

elementType

A VisualElement subclass.