Skip to content

Commit

Permalink
[v0.0.7] Registry updated
Browse files Browse the repository at this point in the history
  • Loading branch information
g0dzZz-coder committed Nov 18, 2023
1 parent 17bc8ae commit 3ba115f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Runtime/UnityComponents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public sealed class UnityComponents : IWorldRegistry
public ComponentPool<AnimatorRef> Animators { get; private set; }
public ComponentPool<RigidbodyRef> Rigidbodies { get; private set; }
public ComponentPool<LineRendererRef> LineRenderers { get; private set; }
public ComponentPool<RigidbodyForceMode> ForceModes { get; private set; }
public ComponentPool<CharacterControllerRef> CharacterControllers { get; private set; }

void IWorldRegistry.Initialize(World world)
Expand All @@ -20,6 +21,7 @@ void IWorldRegistry.Initialize(World world)
world.AddPool(Animators = new ComponentPool<AnimatorRef>());
world.AddPool(Rigidbodies = new ComponentPool<RigidbodyRef>());
world.AddPool(LineRenderers = new ComponentPool<LineRendererRef>());
world.AddPool(ForceModes = new ComponentPool<RigidbodyForceMode>());
world.AddPool(CharacterControllers = new ComponentPool<CharacterControllerRef>());
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.depra.ecs.components",
"version": "0.0.6",
"version": "0.0.7",
"displayName": "Depra.Ecs.Components",
"description": "Components for Unity types.",
"unity": "2022.3",
Expand Down

0 comments on commit 3ba115f

Please sign in to comment.