ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


MainStage

The Main Stage contains all the currently open regular Scenes and is always available.
読み終わるまでの所要時間 4 分最終更新 1ヶ月前

Definition

public sealed class MainStage : Stage

Remarks

The Main Stage also includes the DontDestroyOnLoad Scene, which the Hierarchy sometimes shows during Play Mode, as well as every GameObject marked with the HideFlags.HideAndAndDontSave HideFlags. It includes these GameObjects because, by default, these GameObjects do not belong to any particular Scene but Unity renders them together with the Main Stage objects in the SceneView.
Other Stage types exists for Editor tooling purposes. For example, you can use PreviewSceneStage as a base class for custom Stages.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.