Изменил(а) на 'README.md'
This commit is contained in:
parent
15f762cd16
commit
2ab3c3c655
|
@ -3,9 +3,10 @@ This package is used for code generation of bhl2 bindings for C# using Twig temp
|
|||
Usage example:
|
||||
|
||||
$twig = \bhl_bind\bhl_twig();
|
||||
$meta = \bhl_bind\bhl_prepare_meta($meta);
|
||||
file_put_contents('autobind.cs',
|
||||
$twig->render("codegen_register.twig",
|
||||
$twig->render("codegen_autobind.twig",
|
||||
['imports' => ['UnityEngine'],
|
||||
'units' => $meta->getUnits()]
|
||||
'meta' => $meta]
|
||||
)
|
||||
);
|
Loading…
Reference in New Issue