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
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.
Additional Resources: AssetDatabase.IsOpenForEdit, AssetDatabase.IsMetaFileOpenForEdit.