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.