文档

Unity Engine

Download Unity

Unity Engine

CreateChildPropertiesIncluding(VisualElement, SerializedProperty, params string[])

Creates a field only for the specified attributes of the UXML serialized data.
阅读时间1 分钟最后更新于 2 个月前

Definition

CreateChildPropertiesIncluding(VisualElement, SerializedProperty, string[])

protected void CreateChildPropertiesIncluding(VisualElement container, SerializedProperty property, params string[] includedPropertyNames)

Parameters

container

The parent element to add the fields to.

The serialized property that represents the UXML serialized data instance.

includedPropertyNames

The UXML names of the properties to include.