Version: 2022.3
言語: 日本語
protected bool OnOpenStage ();

戻り値

bool true if Unity opened the Stage successfully, otherwise returns false.

説明

Unity calls this method when the Stage is opened. Classes that inherit from Stage should implement initialization logic in this method.

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. OnOpenStage and OnCloseStage is only called once each.