From 3572ff4a15aa661f26a9c6b600fb6f807a5c294e Mon Sep 17 00:00:00 2001 From: johnche Date: Wed, 18 Dec 2024 17:38:35 +0800 Subject: [PATCH] =?UTF-8?q?[unity]=E4=BF=AE=E5=A4=8Dmult=20backend?= =?UTF-8?q?=E7=9A=84ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unity/native_src/Src/PuertsMultBackend.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/unity/native_src/Src/PuertsMultBackend.cpp b/unity/native_src/Src/PuertsMultBackend.cpp index 12bd55151d..d5845cd028 100644 --- a/unity/native_src/Src/PuertsMultBackend.cpp +++ b/unity/native_src/Src/PuertsMultBackend.cpp @@ -356,6 +356,11 @@ PUERTS_EXPORT void ReturnCSharpFunctionCallback(puerts::IPuertsPlugin* plugin, c plugin->ReturnCSharpFunctionCallback(Info, Callback, Data); } +PUERTS_EXPORT void ReturnCSharpFunctionCallback2(puerts::IPuertsPlugin* plugin, const void* Info, puerts::FuncPtr Callback, puerts::FuncPtr Finalize, int64_t Data) +{ + plugin->ReturnCSharpFunctionCallback(Info, Callback, Finalize, Data); +} + PUERTS_EXPORT void ReturnJSObject(puerts::IPuertsPlugin* plugin, const void* Info, void* Object) { plugin->ReturnJSObject(Info, Object);