Summary
Enables all
ActivableEntityComponent
in the collection.
- Namespace
- StrideToolkit
.Engine - Containing Type
- Entity
Component Collection Extensions
Syntax
public static void Enable<T>(this IEnumerable<T> components) where T : ActivableEntityComponent
Type Parameters
Name | Description |
---|---|
T | The type of component. |
Parameters
Name | Type | Description |
---|---|---|
components | IEnumerable |
A collection of ActivableEntityComponent to enable. |
Return Value
Type | Description |
---|---|
void |