This repository has been archived by the owner on Dec 20, 2022. It is now read-only.
v0.5.0
New Features
- MonoBehaviour Message Components now cache their attached EgoComponent reference. Saves unnecessary
GetComponent<EgoComponent>()
calls.
API Changes
- Changed API to add EgoSystems to EgoCS:
public class EgoInterface : MonoBehaviour
{
static EgoInterface()
{
// Add Systems Here:
EgoSystems.Add(
new ExampleSystem(),
new MovementSystem()
);
}
...
}
- Removed for all EgoSystems:
Start( EgoComponent egoComponent, C component, ... )
Update( EgoComponent egoComponent, C component, ... )
FixedUpdate( EgoComponent egoComponent, C component, ... )
- Added for all EgoSystems:
ForEachGameObject( ForEachGameObjectDelegate callback )
. Replaces the above removed methods andforeach( var bundle in bundles ){ }
blocks in all EgoSystems.