From fe5baa285d545b66209bb31f746c1115494e7c51 Mon Sep 17 00:00:00 2001 From: johnche Date: Tue, 5 Nov 2024 10:34:36 +0800 Subject: [PATCH] =?UTF-8?q?[unity]=E5=8E=BB=E6=8E=89=E4=B8=8D=E5=BF=85?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E5=BC=BA=E8=BD=AC=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=8F=98=E5=8A=A8=E5=90=8E=E4=B8=8D=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../upm/Editor/Resources/puerts/xil2cpp/Puerts_il2cpp.cpp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unity/Assets/core/upm/Editor/Resources/puerts/xil2cpp/Puerts_il2cpp.cpp.txt b/unity/Assets/core/upm/Editor/Resources/puerts/xil2cpp/Puerts_il2cpp.cpp.txt index 9e8aad8a10..1fb1fec443 100644 --- a/unity/Assets/core/upm/Editor/Resources/puerts/xil2cpp/Puerts_il2cpp.cpp.txt +++ b/unity/Assets/core/upm/Editor/Resources/puerts/xil2cpp/Puerts_il2cpp.cpp.txt @@ -2236,7 +2236,7 @@ bool RegisterCSharpType(puerts::JsClassInfo* classInfo) } pesapi_define_class(classInfo->TypeId, classInfo->SuperTypeId, classInfo->Name.c_str(), - classInfo->DelegateBridge ? &puerts::DelegateCtorCallback : &puerts::CtorCallback, classInfo->IsValueType ? (pesapi_finalize)&puerts::PApiFree : (pesapi_finalize)nullptr, propertiesCount, properties, classInfo); + classInfo->DelegateBridge ? &puerts::DelegateCtorCallback : &puerts::CtorCallback, classInfo->IsValueType ? &puerts::PApiFree : (pesapi_finalize)nullptr, propertiesCount, properties, classInfo); if (!classInfo->IsValueType) {