From d7bdfa5cf01ec780fb81f616a88846a089399bee Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Thu, 21 Nov 2024 14:30:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 2454b6d..cfee2a5 100644 --- a/README.md +++ b/README.md @@ -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 ] ) );