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.
Read time 1 minuteLast updated 6 days ago
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.
Additional Resources: AssetDatabase.IsOpenForEdit, AssetDatabase.IsMetaFileOpenForEdit.