diff --git a/README.md b/README.md index 3dc937e..c7632ac 100644 --- a/README.md +++ b/README.md @@ -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] ) ); \ No newline at end of file