[new] CompileDll新增MacOS、Linux、WebGL目标

main
walon 2023-06-15 17:05:46 +08:00
parent 8e178c0e37
commit 2f09f88ca2
1 changed files with 20 additions and 2 deletions

View File

@ -60,16 +60,34 @@ namespace HybridCLR.Editor.Commands
CompileDll(BuildTarget.StandaloneWindows64); CompileDll(BuildTarget.StandaloneWindows64);
} }
[MenuItem("HybridCLR/CompileDll/Android", priority = 202)] [MenuItem("HybridCLR/CompileDll/MacOS", priority = 202)]
public static void CompileDllMacOS()
{
CompileDll(BuildTarget.StandaloneOSX);
}
[MenuItem("HybridCLR/CompileDll/Linux", priority = 203)]
public static void CompileDllLinux()
{
CompileDll(BuildTarget.StandaloneLinux64);
}
[MenuItem("HybridCLR/CompileDll/Android", priority = 210)]
public static void CompileDllAndroid() public static void CompileDllAndroid()
{ {
CompileDll(BuildTarget.Android); CompileDll(BuildTarget.Android);
} }
[MenuItem("HybridCLR/CompileDll/IOS", priority = 203)] [MenuItem("HybridCLR/CompileDll/IOS", priority = 220)]
public static void CompileDllIOS() public static void CompileDllIOS()
{ {
CompileDll(BuildTarget.iOS); CompileDll(BuildTarget.iOS);
} }
[MenuItem("HybridCLR/CompileDll/WebGL", priority = 230)]
public static void CompileDllWebGL()
{
CompileDll(BuildTarget.WebGL);
}
} }
} }