EntityComponentCollectionExtensions Class

Summary

Extension methods for IEnumerable<T> and IEnumerable<T>.
Namespace
StrideToolkit.Engine
Base Types
  • object
graph BT Type-->Base0["object"] Type["EntityComponentCollectionExtensions"] class Type type-node

Syntax

public static class EntityComponentCollectionExtensions

Methods

Name Value Summary
Disable<T>(IEnumerable<T>) void
Disables all ActivableEntityComponent in the collection.
static
Enable<T>(IEnumerable<T>) void
Enables all ActivableEntityComponent in the collection.
static
Toggle<T>(IEnumerable<T>) void
Toggles the ActivableEntityComponent.Enabled state all ActivableEntityComponent in the collection.
static