Обновить README.md

This commit is contained in:
Pavel Shevaev 2024-12-18 18:36:26 +03:00
parent b8aaaeb141
commit 5144fe0e9a
1 changed files with 4 additions and 4 deletions

View File

@ -38,12 +38,12 @@ Usage example:
$meta = \bhl_bind\prepare_meta($meta);
file_put_contents('autobind.cs',
\bhl_bind\codegen(null, $meta,
$output = \bhl_bind\codegen(null, $meta,
[
'imports' => ['UnityEngine'],
'register_class' => 'BHL_AutoBindings',
]
)
);
);
foreach($output as $name => $text)
file_put_contents($name, $text);