From 7116a533c451117655a57e981cfede40d8b46cfa Mon Sep 17 00:00:00 2001 From: johnche Date: Wed, 18 Dec 2024 18:40:35 +0800 Subject: [PATCH] =?UTF-8?q?[unity]mult=20backend=E7=9A=84GetLibBackend?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E4=B8=8D=E5=90=8C=E7=9A=84backend=E8=BF=94?= =?UTF-8?q?=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unity/native_src/Src/PuertsMultBackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unity/native_src/Src/PuertsMultBackend.cpp b/unity/native_src/Src/PuertsMultBackend.cpp index d5845cd028..27e4bdc864 100644 --- a/unity/native_src/Src/PuertsMultBackend.cpp +++ b/unity/native_src/Src/PuertsMultBackend.cpp @@ -55,7 +55,7 @@ PUERTS_EXPORT int GetApiLevel() PUERTS_EXPORT int GetLibBackend(puerts::IPuertsPlugin* plugin) { - return 0; + return plugin->GetType(); } PUERTS_EXPORT puerts::IPuertsPlugin* CreateJSEngine(int backend)