Version: 2022.2
public void OnCreated ();

描述

OnCreated is invoked when an Overlay is instantiated in an Overlay Canvas.

Overlays are usually initialized and destroyed with the EditorWindow in which they exist.