This repository has been archived by the owner on Dec 20, 2022. It is now read-only.
Releases: andoowhy/EgoCS
Releases · andoowhy/EgoCS
v1.2.2
v1.2.1
v1.2.0
v1.1.0
New Features:
- Reorderable Event Queue (see Event Queue Order)
- Can now set the order of when Events are Handled. Unspecified events are still handled in an undetermined order.
- Adding Components and Adding GameObjects Events are always handled before all other events
- Destroying Components and Destroying GameObjects Events are always handled after all other events
v1.0.2
v1.0.1
v1.0.0
New Features
- EgoCS Systems can now select and update GameObjects based on its Components, its Parent's Components, its Grandparent's Components, etc.
- Updated License year to 2017
API Changes
- Added
EgoConstraint
, AddedEgoParentConstraint
and changedEgoSystem
Ego.SetParent()
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.
v0.4.0
API Changes
Start()
, Update()
, and FixedUpdate()
are still called once for all Systems. When not overridden, they call Start( C component, ... )
, Update( C component, ... )
, and FixedUpdate( C component, ... )
, respectively, for each bundle in the System.
When overriding Start()
, Update()
, and FixedUpdate()
, you should also call base.Start()
, base.Update()
, and base.FixedUpdate()
in order to call Start( EgoComponent egoComponent, C component, ... )
, Update( EgoComponent egoComponent, C component, ... )
, and FixedUpdate( EgoComponent egoComponent, C component, ... )
, respectively.