文档

Unity Engine

Unity Engine

ErrorPolicy

The policy Unity uses when dedicated server command-line arguments are invalid.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static Arguments.ArgumentErrorPolicy ErrorPolicy { get; set; }

Remarks

This is how Unity responds to unknown command-line arguments and invalid values for known arguments. The default value is configured in Dedicated Server Player settings. At startup, Unity might also set this property from the
-arg-error-policy
or
-aep
command-line flag. Valid values are
ignore
,
warn
, and
fatal
.
Additional Resources: Arguments.ArgumentErrorPolicy.