Go to file
Pavel Shevaev a409b60f0f Fixing README 2023-10-23 11:15:07 +03:00
src Initial commit 2023-10-23 11:13:52 +03:00
tpl Initial commit 2023-10-23 11:13:52 +03:00
.gitignore Initial commit 2023-10-23 11:13:52 +03:00
README.md Fixing README 2023-10-23 11:15:07 +03:00
composer.json Initial commit 2023-10-23 11:13:52 +03:00

README.md

This package is used for code generation of bhl2 LeoECS Lite bindings for C# 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