Обновить README.md
This commit is contained in:
parent
4c0debbdc7
commit
d7bdfa5cf0
|
@ -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
|
||||
]
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue