Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TypeTraits

Helper class to avoid paying the cost of runtime type lookups.
Read time 1 minuteLast updated 9 days ago

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.