Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RestoreOverlay(Overlay, SaveData)

Restores Overlay state according to the data parameter.
Read time 1 minuteLast updated 10 days ago

Definition

public void RestoreOverlay(Overlay overlay, SaveData data = null)

Parameters

overlay

The Overlay to restore.

The SaveData that contains the state to restore.

Remarks

Call this method to set the overlay's position, visibility, dock area, etc. according to the values in data.