logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class StageRoot

    Root MonoBehaviour for a stage prefab. Place on the prefab root to define stage identity and gameplay tuning parameters. Implements IStageRoot for Domain-level consumption.

    Inheritance
    object
    StageRoot
    Implements
    IStageRoot
    Namespace: Serenity.Stage.Infrastructure.Authoring
    Assembly: Serenity.UnityStage.Infrastructure.dll
    Syntax
    public class StageRoot : MonoBehaviour, IStageRoot

    Constructors

    StageRoot()

    Declaration
    public StageRoot()

    Fields

    stageId

    Declaration
    protected string stageId
    Field Value
    Type Description
    string

    Properties

    StageId

    Declaration
    public StageId StageId { get; }
    Property Value
    Type Description
    StageId

    Methods

    OnValidate()

    Declaration
    protected void OnValidate()

    Implements

    IStageRoot
    In this article
    © 2026 Serenity. All Rights Reserved