Table of Contents

Class MainMenuRig

Namespace
S1API.UI
Assembly
S1API.dll

Modder-facing wrapper for the MainMenuRig component in the main menu scene. Provides access to the menu avatar and related UI components without exposing game types.

public sealed class MainMenuRig
Inheritance
MainMenuRig
Inherited Members
Extension Methods

Properties

Avatar

The avatar displayed in the main menu.

public Avatar? Avatar { get; }

Property Value

Avatar

Methods

FindInScene(bool)

Finds all MainMenuRig instances in the current scene.

public static MainMenuRig[] FindInScene(bool includeInactive = false)

Parameters

includeInactive bool

Whether to include inactive GameObjects in the search.

Returns

MainMenuRig[]

An array of MainMenuRig wrappers found in the scene.