EntityComponentCollectionExtensions.

Enable<T>(IEnumerable<T>) Method

Summary

Enables all ActivableEntityComponent in the collection.

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<T> A collection of ActivableEntityComponent to enable.

Return Value

Type Description
void