Georgiy Sadovnikov de5b6d62b4 | ||
---|---|---|
.gitea/workflows | ||
src | ||
tpl | ||
.gitignore | ||
CHANGELOG.md | ||
README.md | ||
composer.json |
README.md
This package implements a BHL binding plugin for generation of C# LeoECS Lite bindings using Twig templates
Here the example of bindings declaration:
@shared_tokens:{"bhl_bind":true, "bhl_ecslite_component_entity":"EcsEntity"}
struct EcsEntity
@bhl_no_new @bhl_native_class:Leopotam.EcsLite.EcsPackedEntityWithWorld @bhl_custom_rw
end
struct Velocity
@bhl_native_class:`BitGames.GamePlay.Components.Velocity` @bhl_ecslite_component
Value : Vector3
end
struct Position
@bhl_native_class:`BitGames.GamePlay.Components.Position` @bhl_ecslite_component
Value : Vector3
end