This commit is contained in:
Lightczx
2023-10-18 17:21:45 +08:00
parent 7b8ebd86b1
commit f0bb19bc07

View File

@@ -26,7 +26,7 @@ internal static class ProcessInterop
/// <returns>初始化后的游戏进程</returns>
public static Process InitializeGameProcess(LaunchOptions options, string gamePath)
{
Must.Argument(options.IsBorderless ^ options.IsExclusive, "无边框与全屏选项无法同时生效");
Must.Argument(!(options.IsBorderless && options.IsExclusive), "无边框与全屏选项无法同时生效");
// https://docs.unity.cn/cn/current/Manual/PlayerCommandLineArguments.html
// https://docs.unity3d.com/2017.4/Documentation/Manual/CommandLineArguments.html