Releases: Doraku/DefaultEcs
DefaultEcs 0.18.0-beta01
Breaking changes
- Entity.Set, EntitySetSameAs and EntitySetSameAsWorld will now reenable the component if it was disabled
- renamed World.SubscribeComponentAdded to World.SubscribeEntityComponentAdded
- renamed World.SubscribeComponentChanged to World.SubscribeEntityComponentChanged
- renamed World.SubscribeComponentRemoved to World.SubscribeEntityComponentRemoved
- renamed World.SubscribeComponentEnabled to World.SubscribeEntityComponentEnabled
- renamed World.SubscribeComponentDisabled to World.SubscribeEntityComponentDisabled
New features
- World.SetMaxCapacity can now be called multiple times for the same component type (#149)
- added World.SubscribeWorldComponentAdded method (#165)
- added World.SubscribeWorldComponentChanged method (#165)
- added World.SubscribeWorldComponentRemoved method (#165)
- added World.NotifyChanged method
- added generic WithAttribute
- added generic WithoutAttribute
- added generic WhenAddedAttribute
- added generic WhenChangedAttribute
- added generic WhenRemovedAttribute
Bug fixes
DefaultEcs 0.17.2
Bug fixes
- fixed a specific case when an Entity is removed from a EntitySortedSet (thanks to @Helco)
DefaultEcs 0.17.1
DefaultEcs 0.17.0
breaking changes:
remove EntityCommandRecorder.CreateEntity method, see new WorldRecord type
renamed EntityMap.ContainsEntity method to Contains
renamed EntityMultiMap.ContainsEntity method to Contains
added IEntityContainer type as common base interface for all entity container (EntitySet, EntitySortedSet, EntityMap, EntityMultiMap)
added EntityCommandRecorder.Record(World) method
added WorldRecord type to record action on World
added EntitySet.EntityAdded event
added EntitySet.EntityRemoved event
added EntityMap.EntityAdded event
added EntityMap.EntityRemoved event
added EntityMultiMap.EntityAdded event
added EntityMultiMap.EntityRemoved event
added EntitySortedSet type (#113)
added EntityQueryBuilder.AsSortedSet methods to create EntitySortedSet
added AEntitySortedSetSystem type
added debug view for EntitySortedSet
added debug view for EntityMap
added debug view for EntityMultiMap
DefaultEcs 0.17.0-beta1
breaking changes:
remove EntityCommandRecorder.CreateEntity method, see new WorldRecord type
added EntityCommandRecorder.Record(World) method
added WorldRecord type to record action on World
added EntitySortedSet type (#113)
added EntityQueryBuilder.AsSortedSet methods to create EntitySortedSet
added AEntitySortedSetSystem type
added debug view for EntitySortedSet
added debug view for EntityMap
added debug view for EntityMultiMap
DefaultEcs 0.16.2
fixed serialization when subscribing to component change (#127)
DefaultEcs 0.16.1
fixed Entity.Dispose when using multiple EntityMap/MultiMap with the same component key (#123)
DefaultEcs 0.16.0
breaking changes:
changed IComponentReader.OnRead component passed as in instead of ref
renamed World.Get to World.GetAll
added ComponentCloner type to clone components between entities
added Entity.CopyTo method overload taking a ComponentCloner
added Entity.SetSameAsWorld method
added EntityRecord.CopyTo methods
added EntityRecord.SetSameAsWorld method
added World.Set method to set a world component
added World.Get method to get a world component
added World.Remove method to remove a world component
added World.Has method to check a world component availability
DefaultEcs 0.15.2
DefaultEcs 0.15.2
added World.TrimExcess methods to fit inner storage to the number of entities and components
added EntitySet.TrimExcess method to fit inner storage to the number of entities
added EntityMap.TrimExcess method to fit inner storage to the number of entities
added EntityMultiMap.TrimExcess method to fit inner storage to the number of entities
fixed Entity.Dispose when called in a non buffered system
DefaultEcs 0.15.1
DefaultEcs 0.15.1
added Entity.Set with no parameter (fix for Unity IL2CPP)
added EntityRecord.Set with no parameter (fix for Unity IL2CPP)