Click or drag to resize

TypeHelperFindComponentTypes Method

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

Finds all types within the current AppDomain that can be added to a GameObject as a component.

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 IEnumerable<Type> FindComponentTypes(
	bool allowEmptyComponentMenu = true
)

Parameters

allowEmptyComponentMenu (Optional)
Type: SystemBoolean
Whether to include component types if the AddComponentMenu attribute specifies an empty component menu name, meaning the component won't show up in the Add Component menu.

Return Value

Type: IEnumerableType
An IEnumerableT of all types that can be added as a component.
See Also