Version: 2022.1

Stage.OnReturnToStage

切换到手册
protected void OnReturnToStage ();

描述

Unity calls this method when you return to a Stage that is already open.

A Stage can remain open even after another Stage becomes the active Stage. Unity only closes a Stage once it's no longer visible in the Scene view breadcrumb bar. OnReturnToStage is called when clicking the breadcrumb of a stage that is not the current one.