From 53d5c61e07c4f44b4ba67f336b43eff44345a964 Mon Sep 17 00:00:00 2001 From: johnche Date: Fri, 27 Dec 2024 11:19:52 +0800 Subject: [PATCH] =?UTF-8?q?[unity]=E6=B7=BB=E5=8A=A0TestBuilder.GenV2Witho?= =?UTF-8?q?utWrapper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unity/test/unity/Assets/Editor/TestBuilder.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/unity/test/unity/Assets/Editor/TestBuilder.cs b/unity/test/unity/Assets/Editor/TestBuilder.cs index 09f0e21840..fb73a21892 100644 --- a/unity/test/unity/Assets/Editor/TestBuilder.cs +++ b/unity/test/unity/Assets/Editor/TestBuilder.cs @@ -16,6 +16,14 @@ public static void GenV1() public static void BuildWindowsV1() { BuildWindows(false); } #if PUERTS_IL2CPP_OPTIMIZATION + public static void GenV2WithoutWrapper() + { + PuertsIl2cpp.Editor.Generator.UnityMenu.GenerateEmptyCppWrappers(); + PuertsIl2cpp.Editor.Generator.UnityMenu.GenerateExtensionMethodInfos(); + PuertsIl2cpp.Editor.Generator.UnityMenu.GenerateLinkXML(); + PuertsIl2cpp.Editor.Generator.UnityMenu.GenerateCppPlugin(); + Puerts.Editor.Generator.UnityMenu.GenRegisterInfo(); + } public static void GenV2() { PuertsIl2cpp.Editor.Generator.UnityMenu.GenerateCppWrappers();