Skip to content

Releases: sschmid/Entitas

Entitas 0.22.2

02 Sep 15:44
Compare
Choose a tag to compare
Fixes
  • Entitas
    • GroupObserver retains entities only once
Entitas.Unity.VisualDebugging
  • PoolObserver now shows retained entities
  • Destroying EntityBehaviour e.OnEntityReleased instead of e.OnComponentRemoved
Other
  • New logo

Entitas 0.22.1

30 Aug 19:42
Compare
Choose a tag to compare
Entitas
  • Throwing an exception when releasing an entity that is not destroyed yet (#32)
Entitas.Unity.VisualDebugging
  • Added hierarchy icon
  • Renamed DebugSystems related classes
Other
  • buildPackage.sh includes HierarchyIcon.png.meta

Entitas 0.22.0

27 Aug 21:47
Compare
Choose a tag to compare
Breaking changes

Please follow the Entitas upgrade guide

  • Entitas
    • Restored previous pool.DestroyEntity() behaviour
    • IReactiveSystem and IMultiReactiveSystem changed and use TriggerOnEvent
    • Use the command line tool MigrationAssistant.exe to automatically migrate IReactiveSystem
    • Renamed IStartSystem.Start to IInitializeSystem.Initialize (#21)
Fixes
  • Entitas
    • e.RemoveAllComponents() updates toString cache, even if entity has no components
Entitas
  • Added AERC (Automatic Entity Reference Counting) (#30, solves #25)
  • Reduced gc allocations in e.RemoveAllComponents()
  • Reduced gc allocations in pool.CreateEntity() and pool.DestroyEntity()
  • pool.DestroyEntity() will clean suscribed event delegates of entities (#27)
  • entity.ToString() will always use component type
  • Streamlined and refactored tests and sources
Entitas.Unity.VisualDebugging
  • Improved SystemMonitorEditor graph performance (#14)

Entitas.Migration

  • Added M0220 (Migrates IReactiveSystem to combine trigger and eventTypes to TriggerOnEvent)
  • Updated migration descriptions
Other
  • Removed project files
  • Renamed updateDependencies.sh to updateProjects.sh
  • buildPackage.sh includes EntitasUpgradeGuide.md in Entitas.zip

Entitas 0.21.0

15 Aug 14:50
Compare
Choose a tag to compare
Fixes
  • Entitas.Migration
    • Changed target framework to .NET 3.5 to fix build errors in VisualStudio (#22)
Entitas
  • Changed pool.DestroyEntity(entity) behaviour
    • won't trigger group.OnEntityRemoved anymore
    • triggers group.OnEntityWillBeDestroyed
    • removes entity from all groupObserver.collectedEntities
      • ReactiveSystem doesn't pass on destroyed entities anymore
  • ReactiveSystem doesn't call Execute() when filtered entities.Count == 0
Other
  • Added project files (#18)

Entitas 0.20.0

11 Aug 16:11
Compare
Choose a tag to compare
Breaking changes
  • Entitas
    • Removed all matchers except AllOfMatcher
Entitas
  • Added IEnsureComponents to optionally ensure entities passed in via ReactiveSystem have certain components
  • Added IExcludeComponents to optionally exclude entities passed in via ReactiveSystem
  • Added support for multiple PoolAttributes on components
[PoolA, PoolB, PoolC]
public class SomeComponent : IComponent {}
Entitas.Unity.CodeGenerator
  • Added disabledCodeGenerators to CodeGeneratorConfig
  • Added code generator toggles to CodeGeneratorPreferencesDrawer

Entitas.Unity.Codegenerator.disabledcodegenerators

Entitas.Unity.VisualDebugging
  • Nicer stats

Entitas 0.19.1

30 Jul 19:32
Compare
Choose a tag to compare
Entitas
  • GroupObserver supports observing multiple groups
  • Added support for IMultiReactiveSystem
  • Added internal entity._isEnabled to prevent modifying pooled entities
  • Replaced internal object pool with Stack
Entitas.CodeGenerator
  • Fixed generated replace method, when replacing non existent component
Entitas.Unity.VisualDebugging
  • Drastically improved performance and memory usage by caching ToString() and reducing setting gameObject.name

Entitas 0.19.0

27 Jul 07:50
Compare
Choose a tag to compare
Breaking changes

Please follow the Entitas upgrade guide

  • Entitas
    • Added new e.OnComponentReplaced and removed all *WillBeRemoved events
    • Added component index and changed component to OnEntityAdded and OnEntityRemoved
    • IReactiveSystem.Execute takes List instead of Entity[]
      • Entitas now runs without producing garbage!
  • Entitas.CodeGenerator
    • Removed support for properties in components
  • Entitas.Unity.VisualDebugging
    • Replaced DebugPool with a more flexible PoolObserver
Entitas
  • Added group.OnEntityUpdated event with previous and new component
Entitas.CodeGenerator
  • ComponentExtensionsGenerator generates component object pool
  • Converting newlines in generated files to Environment.NewLine (Pull request #11, thanks @movrajr)
Other
  • Added policy.mdpolicy

Entitas 0.18.3

18 Jul 13:32
Compare
Choose a tag to compare
Entitas
  • Added ReactiveSystem.Activate() and .Deactivate()
Entitas.Unity.VisualDebugging
  • Displaying nested systems hierarchy for DebugSystems

entitas unity visualdebugging-debugsystemshierarchy
entitas unity visualdebugging-debugsystemshierarchyeditor

  • Unchecking a ReacitveSystem in VisualDebugging deactivates it

Entitas 0.18.2

17 Jul 22:52
Compare
Choose a tag to compare
Entitas.CodeGenerator
  • Fixed #9

Entitas 0.18.1.1

15 Jul 13:00
Compare
Choose a tag to compare
Temporary patch
  • Deactivated broken PoolsGenerator to address #9