文档

Unity Engine

Unity Engine

RegisterConverterGroup(ConverterGroup)

Registers a converter group by ID. Converter groups can be applied on a binding using local converters.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static void RegisterConverterGroup(ConverterGroup converterGroup)

Parameters

converterGroup

The converter group to register.

Remarks

You can apply a converter group in a DataBinding UXML with the
source-to-ui-converters
or
ui-to-source-converters
attributes.