System Management - NocturnalWisp/Tynted-Engine GitHub Wiki

Getting Started

Systems are the main use of the engine. You can change entities and their components within these. If you would like to learn how to create a new system, look here. Throughout this doc I would like to talk about how to add, remove, and utilize systems you have created.

Adding and Removing

Both of these add and remove systems that have been registered to the ECSManager.

//Adding a system you have created.
ECSManager.AddSystem<SystemType>();

//Removing a system you have created. Not really ever needed.
ECSManager.RemoveSystem<SystemType>();

Utilizing

Systems are used to alter entities and their components. You can take a look at the API for usage information. ECSManager. System Attributes. Also Check out the tutorials for more information on actually applying these principles. Tutorials.

⚠️ **GitHub.com Fallback** ⚠️