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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答