Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

v0.5.0

Compare
Choose a tag to compare
@andoowhy andoowhy released this 01 May 00:11
· 18 commits to master since this release

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 and foreach( var bundle in bundles ){ } blocks in all EgoSystems.