Open Shadowblitz16 opened 2 months ago
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; } }
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 :)
Does it really require a constructor?