Arch
                                
                                
                                
                                    Arch copied to clipboard
                            
                            
                            
                        A high-performance C# based Archetype & Chunks Entity Component System (ECS) with optional multithreading.
This test case fails without that change.
Encountered another issue when investigating https://github.com/genaray/Arch/issues/109 ```cs using Arch.Core.CommandBuffer; using Arch.Core.Utils; using Arch.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Arch.Core.Extensions; namespace ConsoleTestApp; internal class ArchDuplicatedResults...
We need a method to query singleton components. We will use this method in many scenarios, such as Player Input, making the code look more concise and readable. ``` private...
Add checks and exceptions for Add/Remove/Get/Set related to #174. This PR will change it to throw `InvalidOperationException` if you specify a component type that does not exist. It is recommended...
Bevy has something called plugins which go something like this... ```cs var app = new Application(); app.AddPlugin(MyPlugin); app.Run(); public void MyPlugin(Application app) { app.AddSystem(...); } ```
```cs var world = World.Create(); world.AddSystem(PlayerMoveSystem) public static void PlayerMoveSystem((Transform Transform, PlayerMovement Movement)[] components) { foreach (var component in components) { component.Transform.Position += component.Movement.Velocity; } } ```
When I used Google.ProtoBuf + Arch in a Unity project, ProtoBuf pilerServices relies on System.Runtime.CompilerServices.Unsafe 4.0; The Arch is dependent on the System.Runtime.CompilerServices.Unsafe 6.0; The error that appears is: Google.Protobuf...
Code done by @ElectroJr not me, I just PRd it. Without the GetChunk change:  With GetChunk change:  Left is master, right is after changes (the non-generic TryGet was...
Hello, I faced a problem that very hard to find. If you try to remove component from entity that does not exists it wont show any error or something, but...
compile error with PURE_ECS or EVENTS