文档

Unity Engine

Unity Engine

TypeTraits

Helper class to avoid paying the cost of runtime type lookups.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Static Methods

Method

Description

IsContainerReturns
true
if the given type can be treated as a container. i.e. not primitive, pointer, enum or string.