Entitas  0.35.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
Entitas.ISetPools Interface Reference

Public Member Functions

void SetPools (Pools pools)
 

Detailed Description

Implement this interface if you want to create a system which needs a reference to pools. Recommended way to create systems in general: pool.CreateSystem(new MySystem()); Calling pool.CreateSystem(new MySystem()) will automatically inject the pools if ISetPools is implemented. It's recommended to pass in the pools as a dependency using ISetPools rather than using Pools.sharedInstance directly within the system to avoid tight coupling.

Definition at line 25 of file PoolExtension.cs.


The documentation for this interface was generated from the following file: