hasRevertUnchangedSupport
Checks whether the currently active version control provider supports the Revert Unchanged operation.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor.VersionControl
- Assembly: UnityEditor.CoreModule
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.