Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Sync()

Synchronizes the views so they have access to the same content.
Read time 1 minuteLast updated 6 days ago

Definition

void Sync()

Remarks

This flushes the internal filestream of the view, so the data is written on disk and available to the other views. When PropertyDatabase.GetView is called with delayedSync set to true, the view is only synced when disposed. Otherwise the view is synced each time a store or invalidate happens. This allows you to sync the view whenever you need before disposing it.