348 B
348 B
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]
)
);