EntityComponentCollectionExtensions.

Disable<T>(IEnumerable<T>) Method

Summary

Disables all ActivableEntityComponent in the collection.

Syntax

public static void Disable<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