Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

StatusQueryOptions.UseCachedAsync

Description

This option sets the status query to first use the latest valid version control system status of the file and query for a valid status asynchronously if otherwise.

Note that AssetDatabase.IsOpenForEdit and AssetDatabase.IsMetaFileOpenForEdit returns false while a query is in progress as the VCS status is still unknown.

See Also: AssetDatabase.IsOpenForEdit, AssetDatabase.IsMetaFileOpenForEdit.

Did you find this page useful? Please give it a rating: