Изменил(а) на 'README.md'

This commit is contained in:
Pavel Shevaev 2022-12-15 00:43:54 +03:00
parent 15f762cd16
commit 2ab3c3c655
1 changed files with 3 additions and 2 deletions

View File

@ -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]
)
);