Go to file
Pavel Shevaev 2ab3c3c655 Изменил(а) на 'README.md' 2022-12-15 00:43:54 +03:00
src Tweaking native array proxies codegen 2022-12-14 12:55:52 +03:00
tpl Tweaking native array proxies codegen 2022-12-14 12:55:52 +03:00
.gitignore Adding README and ignores file 2022-12-03 17:18:25 +03:00
README.md Изменил(а) на 'README.md' 2022-12-15 00:43:54 +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();
$meta = \bhl_bind\bhl_prepare_meta($meta);
file_put_contents('autobind.cs', 
  $twig->render("codegen_autobind.twig", 
    ['imports' => ['UnityEngine'], 
     'meta' => $meta]
  )
);