Skip to content

Entitas 0.42.0

Compare
Choose a tag to compare
@sschmid sschmid released this 28 Apr 13:38
· 679 commits to develop since this release

See and discuss changes in Milestone 0.42.0

Breaking changes

Please follow the Entitas upgrade guide

  • Removed Entitas.Blueprints.Unity.*
  • Changed ReactiveSystem.GetTrigger method signature
  • Marked obsolete: context.DestroyEntity(entity). Use entity.Destroy() instead
  • Marked obsolete: context.CreateCollector(matcher, event), use new context.CreateCollector(triggerOnEvent) when you need .Removed or .AddedOrRemoved, (e.g. GameMatcher.View.Removed()))

Top new features:

  • Use MultiReactiveSystem to process entities from different contexts in one system (see Test Example)
  • Use entity.Destroy() instead of context.DestroyEntity(entity)
  • Unit Testing in external console works on Windows now

General

  • Moved Entitas menu item under the Tools tab
  • Removed Entitas.Blueprints.Unity.* from zips
  • Creating new zip for code generator default plugins
  • UX improvements

Entitas

  • Added MultiReactiveSystem to support reactive systems observing different contexts #303
  • Added TriggerOnEvent
  • Renamed entity.Destroy() to entity.InternalDestroy() to reduce confusion
  • Added entity.Destroy() instead of context.DestroyEntity(entity) #254

CodeGenerator

  • Added ComponentEntityInterfaceGenerator #303
  • Updated ContextObserverGenerator to avoid System.Security.SecurityException on Windows #375
  • .ToSafeDirectory() supports empty string and “.” to specify current directory