Skip to content

Commit e44fa66

Browse files
committed
[fix] fix bug of CompileDll(BuildTarget target) that use EditorUserBuildSettings.activeBuildTarget instead of target to call CompileDll
1 parent 903cf9f commit e44fa66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Editor/Commands/CompileDllCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static void CompileDll(string buildDir, BuildTarget target, bool developm
3030

3131
public static void CompileDll(BuildTarget target)
3232
{
33-
CompileDll(EditorUserBuildSettings.activeBuildTarget, EditorUserBuildSettings.development);
33+
CompileDll(target, EditorUserBuildSettings.development);
3434
}
3535

3636
public static void CompileDll(BuildTarget target, bool developmentBuild)

0 commit comments

Comments
 (0)