文档

Unity Engine

Unity Engine

UseCachedAsync

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
UseCachedAsync = 2

Remarks

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