Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Experimental: this API is experimental and might be changed or removed in the future.

UxmlFactory<T0>.DoCreate

Parameters

bag Read access to the UXML attributes.
cc Context of the current instantiation.

Returns

T An instance of the target type.

Description

This method is meant to be overriden by the user. It must create an element of the expected type, using the creation context and available properties.

Did you find this page useful? Please give it a rating: