Click or drag to resize

TypeHelper Class

[This is preliminary documentation and is subject to change.]

A static class that provides utility methods for working with Component types.
Inheritance Hierarchy
SystemObject
  Umbrace.Unity.PurePoolTypeHelper

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static class TypeHelper

The TypeHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCanAddAsComponent
Gets a value indicating whether the specified Type can be added to a GameObject as a component.
Public methodStatic memberDisallowMultiple
Gets a value indicating whether the specified component Type can be added multiple times to a GameObject.
Public methodStatic memberFindComponentTypes
Finds all types within the current AppDomain that can be added to a GameObject as a component.
Public methodStatic memberFindPoolableComponents
Gets the components that implement IPoolable for the specified componentType.
Top
See Also