文档

Unity Engine

Unity Engine

TypeConversion

Helper class to handle type conversion during properties API calls.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Class
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule
public static class TypeConversion

Static Methods

Method

Description

ConvertConverts the specified value from
TSource
to
TDestination
.
RegisterRegisters a new converter from
TSource
to
TDestination
.
TryConvertConverts the specified value from
TSource
to
TDestination
.