From 2f09f88ca2559cb19c5b8903f84e92e7d59fadae Mon Sep 17 00:00:00 2001 From: walon Date: Thu, 15 Jun 2023 17:05:46 +0800 Subject: [PATCH] =?UTF-8?q?[new]=20CompileDll=E6=96=B0=E5=A2=9EMacOS?= =?UTF-8?q?=E3=80=81Linux=E3=80=81WebGL=E7=9B=AE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/Commands/CompileDllCommand.cs | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/Editor/Commands/CompileDllCommand.cs b/Editor/Commands/CompileDllCommand.cs index 2857659..06222c1 100644 --- a/Editor/Commands/CompileDllCommand.cs +++ b/Editor/Commands/CompileDllCommand.cs @@ -60,16 +60,34 @@ namespace HybridCLR.Editor.Commands 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() { CompileDll(BuildTarget.Android); } - [MenuItem("HybridCLR/CompileDll/IOS", priority = 203)] + [MenuItem("HybridCLR/CompileDll/IOS", priority = 220)] public static void CompileDllIOS() { CompileDll(BuildTarget.iOS); } + + [MenuItem("HybridCLR/CompileDll/WebGL", priority = 230)] + public static void CompileDllWebGL() + { + CompileDll(BuildTarget.WebGL); + } } }