Flush()
Triggers a manual update of the backing file.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public void Flush()
Remarks
When a change happens on the PropertyDatabase, it is stored in memory until we update the backing file. If the PropertyDatabase is created with the flag autoFlush set to true, this is done automatically. If not, you have to trigger the update manually with PropertyDatabase.Flush. This function is blocking until the operation completes.