[change] Remove redundant `buildOptions |= BuildOptions.CleanBuildCache;` code since it's already added in the GetBuildPlayerOptions function.
parent
7f2fa52f37
commit
c21dbcc60a
|
|
@ -72,9 +72,6 @@ namespace HybridCLR.Editor.Commands
|
||||||
BashUtil.RemoveDir(outputPath);
|
BashUtil.RemoveDir(outputPath);
|
||||||
|
|
||||||
var buildOptions = GetBuildPlayerOptions(target);
|
var buildOptions = GetBuildPlayerOptions(target);
|
||||||
#if UNITY_2021_2_OR_NEWER
|
|
||||||
buildOptions |= BuildOptions.CleanBuildCache;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
bool oldExportAndroidProj = EditorUserBuildSettings.exportAsGoogleAndroidProject;
|
bool oldExportAndroidProj = EditorUserBuildSettings.exportAsGoogleAndroidProject;
|
||||||
#if UNITY_EDITOR_OSX
|
#if UNITY_EDITOR_OSX
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue