Better systems
Opened this issue · 2 comments
Shadowblitz16 commented
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;
}
}
genaray commented
Have you looked at https://github.com/genaray/Arch.Extended/wiki/Source-Generator ? I would argue that its way better than bevy like systems tho :)
Shadowblitz16 commented
Does it really require a constructor?