Обновить README.md

This commit is contained in:
Pavel Shevaev 2024-11-21 14:30:12 +03:00
parent 4c0debbdc7
commit d7bdfa5cf0
1 changed files with 1 additions and 3 deletions

View File

@ -36,15 +36,13 @@ Here the example of bindings declaration:
Usage example:
$twig = \bhl_bind\get_twig();
$meta = \bhl_bind\prepare_meta($meta);
file_put_contents('autobind.cs',
$twig->render("codegen_autobind.twig",
\bhl_bind\codegen(null, $meta,
[
'imports' => ['UnityEngine'],
'register_class' => 'BHL_AutoBindings',
'meta' => $meta
]
)
);