Pavel Shevaev 2ab3c3c655 | ||
---|---|---|
src | ||
tpl | ||
.gitignore | ||
README.md | ||
composer.json |
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]
)
);