文档

Unity Engine

Unity Engine

hasRevertUnchangedSupport

Checks whether the currently active version control provider supports the Revert Unchanged operation.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static bool hasRevertUnchangedSupport { get; }

Remarks

Returns true if the active version control plugin (such as Perforce) can determine server-side if a checked-out file's content is unchanged. This is used internally to conditionally display the Auto Revert Unchanged Files setting in the Version Control Project Settings.