Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

Provider.hasRevertUnchangedSupport

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static bool hasRevertUnchangedSupport;

Description

Checks whether the currently active version control provider supports the Revert Unchanged operation.

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.