Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateChildPropertiesIncluding(VisualElement, SerializedProperty, params string[])

Creates a field only for the specified attributes of the UXML serialized data.
Read time 1 minuteLast updated 13 days ago

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.