TypeHelperDisallowMultiple Method |
[This is preliminary documentation and is subject to change.]
Gets a value indicating whether the specified component
Type can be added multiple times to a
GameObject.
Namespace:
Umbrace.Unity.PurePool
Assembly:
Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax public static bool DisallowMultiple(
this Type componentType
)
Parameters
- componentType
- Type: SystemType
Return Value
Type:
Boolean if the specified component type can be added multiple times; otherwise,
.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also