Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Flush()

Triggers a manual update of the backing file.
Read time 1 minuteLast updated 6 days ago

Definition

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.