From 2ab3c3c6555b07021228a92c34b4ba30db438e10 Mon Sep 17 00:00:00 2001 From: ps Date: Thu, 15 Dec 2022 00:43:54 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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