Click or drag to resize

SerialisableComponentPoolCheckTypeT Method

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

A conditionally-compiled helper method that checks if the type T is assignable from ComponentType.

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
[ConditionalAttribute("UNITY_EDITOR")]
protected void CheckType<T>(
	string memberName = null
)

Parameters

memberName (Optional)
Type: SystemString
The name of the member that is calling this method.

Type Parameters

T
The type to check.
See Also