ecs in .net with embedded lua code