Documentation

Unity Engine

Download Unity

Unity Engine

TypeTraits

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

Definition

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.