Go to file
Pavel Shevaev 789bd45612 Changes due to bhl class symbols inheritance changes 2022-12-13 16:56:01 +03:00
src Adding support for @bhl_static and better support for @bhl_bin_op 2022-12-09 17:14:45 +03:00
tpl Changes due to bhl class symbols inheritance changes 2022-12-13 16:56:01 +03:00
.gitignore Adding README and ignores file 2022-12-03 17:18:25 +03:00
README.md Изменил(а) на 'README.md' 2022-12-05 10:08:23 +03:00
composer.json Initial commit 2022-12-02 16:21:57 +03:00

README.md

This package is used for code generation of bhl2 bindings for C# using Twig templates

Usage example:

$twig = \bhl_bind\bhl_twig();
file_put_contents('autobind.cs', 
  $twig->render("codegen_register.twig", 
    ['imports' => ['UnityEngine'], 
     'units' => $meta->getUnits()]
  )
);