Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RegisterGlobalConverter<TSource, TDestination>(TypeConverter<TSource, TDestination>)

Registers a global UI conversion delegate that will be used when converting data between a data source and a UI control. This delegate will be used both when converting data from and to UI.
Read time 1 minuteLast updated 13 days ago

Definition

RegisterGlobalConverter<T, U>(TypeConverter<T, T>)

public static void RegisterGlobalConverter<TSource, TDestination>(TypeConverter<TSource, TDestination> converter)

Parameters

The delegate that handles the conversion.