metagen_bhl_bind/README.md

11 lines
314 B
Markdown
Raw Permalink Normal View History

2022-12-03 17:18:25 +03:00
This package is used for code generation of bhl2 bindings for C# using Twig templates
2022-12-05 10:08:23 +03:00
Usage example:
$twig = \bhl_bind\bhl_twig();
file_put_contents('autobind.cs',
$twig->render("codegen_register.twig",
['imports' => ['UnityEngine'],
'units' => $meta->getUnits()]
)
);