Skip to content

Commit

Permalink
[unity]添加TestBuilder.GenV2WithoutWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Dec 27, 2024
1 parent 2efa36e commit 53d5c61
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions unity/test/unity/Assets/Editor/TestBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 53d5c61

Please sign in to comment.