From a3438a870d341102ea17dfc0c51e6c58d2718eb9 Mon Sep 17 00:00:00 2001 From: Vladislav Date: Wed, 18 May 2022 13:13:11 +0300 Subject: [PATCH] Fix error & fix warning --- Editor/Platforms/Standalone/Build/BuildMacOS.cs | 3 +-- Editor/Platforms/WebGL/BuildWebGL.cs | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Editor/Platforms/Standalone/Build/BuildMacOS.cs b/Editor/Platforms/Standalone/Build/BuildMacOS.cs index 708a2b9..47a936c 100644 --- a/Editor/Platforms/Standalone/Build/BuildMacOS.cs +++ b/Editor/Platforms/Standalone/Build/BuildMacOS.cs @@ -16,9 +16,8 @@ public sealed class BuildMacOS : ScriptableBuildStepWithOptions { #if UNITY_EDITOR_OSX [SerializeField] private MacOSArchitecture m_architecture = default; -#endif [SerializeField] private bool m_createXcodeProject = false; - +#endif public override BuildTarget Target => BuildTarget.StandaloneOSX; public override async Task Execute() diff --git a/Editor/Platforms/WebGL/BuildWebGL.cs b/Editor/Platforms/WebGL/BuildWebGL.cs index 9c9bf99..6c4493a 100644 --- a/Editor/Platforms/WebGL/BuildWebGL.cs +++ b/Editor/Platforms/WebGL/BuildWebGL.cs @@ -56,6 +56,4 @@ public override async Task Execute() return report; } } - -#endif - } \ No newline at end of file +} \ No newline at end of file