Skip to content

Entitas 0.17.0

Compare
Choose a tag to compare
@sschmid sschmid released this 27 Jun 19:10
· 2162 commits to main since this release
Breaking changes
  • Added systemCodeGenerators to CodeGenerator.Generate()
CodeGenerator.Generate(Type[] types, string[] poolNames, string dir,
                            IComponentCodeGenerator[] componentCodeGenerators,
                            ISystemCodeGenerator[] systemCodeGenerators,
                            IPoolCodeGenerator[] poolCodeGenerators)
Entitas.CodeGenerator
  • Added PoolsGenerator which creates a getter for all pools
var pool = Pools.pool;
var metaPool = Pools.meta;
  • Added SystemExtensionsGenerator
new Systems()
    .Add(pool.CreateGameBoardSystem())
    .Add(pool.CreateCreateGameBoardCacheSystem())
    .Add(pool.CreateFallSystem())
    .Add(pool.CreateFillSystem())

    .Add(pool.CreateProcessInputSystem())

    .Add(pool.CreateRemoveViewSystem())
    .Add(pool.CreateAddViewSystem())
    .Add(pool.CreateRenderPositionSystem())

    .Add(pool.CreateDestroySystem())
    .Add(pool.CreateScoreSystem());
  • Added Components, Systems & Pools sub folders to generated folder
Entitas.Unity
  • Properties split with Environment.NewLine instead of '\n'
Entitas.Unity.CodeGenerator
  • Entitas preferences appends "/Generated/" to generated folder if necessary
Entitas.Unity.VisualDebugging
  • Using Queue for SystemsDebugEditor.systemMonitorData