Browse Source

minor improvement

pull/116/head
Sebastiano Mandala 7 months ago
parent
commit
c7496a1ffd
3 changed files with 4 additions and 2 deletions
  1. +1
    -1
      com.sebaslab.svelto.common
  2. +1
    -1
      com.sebaslab.svelto.ecs/CHANGELOG.md
  3. +2
    -0
      com.sebaslab.svelto.ecs/Extensions/Svelto/IEGIDMultiMapper.cs

+ 1
- 1
com.sebaslab.svelto.common

@@ -1 +1 @@
Subproject commit 28346d8c8d1371aec5b1176d17c61fa02413f056
Subproject commit 08646fc4248aede936226e40cdbadf46dce78e47

+ 1
- 1
com.sebaslab.svelto.ecs/CHANGELOG.md View File

@@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file. Changes are
* Unity DOTS: added CreateDOTSToSveltoSyncEngine method in SveltoOnDOTSEnginesGroup
* Refactor: split NB/MB struct from their internal logic that must be used only by the framework. Eventually NB and MB structs must be ref, as they are not supposed to be held (they may become invalid over the time). However due to the current DOTS patterns this is not possible. In future a sentinel pattern will allow to lease these buffers with the assumption that they can't be modified while held (and if a modification happens an exception will throw)
* Improved managed EGIDMultiMapper. A MultiMapper can improve components fetching performance
* Renamed IDisposingEngine interface to IDisposableEngine
* Renamed IDisposableEngine interface to IDisposableEngine
* added EntityReference Exists method to validate it against a given entity database
* BUG FIXED: IReactOnDisposeEx callbacks were not correctly called
* BUG FIXED: fixed serious bug that would pass wrong entities indices to the moveTO callback under specific conditions


+ 2
- 0
com.sebaslab.svelto.ecs/Extensions/Svelto/IEGIDMultiMapper.cs View File

@@ -4,6 +4,8 @@ namespace Svelto.ECS
{
public interface IEGIDMultiMapper
{
Type entityType { get; }

uint GetIndex(EGID entity);
}
}

Loading…
Cancel
Save