Game.UI.InGame.ChirperPanel
Assembly: Assembly-CSharp
Namespace: Game.UI.InGame
Type: public class
Base: GamePanel
Summary:
Represents the in-game "Chirper" UI panel (the game's microblog/social feed). This concrete panel class determines where the Chirper panel is docked in the game's UI by overriding the base panel's layout position. It does not add fields or methods of its own and relies on GamePanel for lifecycle and rendering behavior.
Fields
- This class declares no private or public instance fields. It inherits any required state and fields from its base class, GamePanel.
{{ The ChirperPanel is a minimal concrete implementation whose behavior and data are provided by the GamePanel base type. }}
Properties
public override LayoutPosition position { get; }
{{ This property overrides the base GamePanel layout position to place the Chirper panel on the right side of the screen. The implementation returns LayoutPosition.Right, which the UI layout system uses to dock the panel. }}
Constructors
public ChirperPanel()
{{ The default parameterless constructor is implicitly provided. Initialization and setup are expected to occur through the base class lifecycle methods (e.g., Awake/OnEnable/OnCreate) rather than constructor logic, following Unity/MonoBehaviour patterns used in the game. }}
Methods
- This class declares no additional methods.
{{ All functional behavior (creation, enabling, rendering, input handling) is handled by the GamePanel base class or other UI systems. ChirperPanel exists solely to provide a specific layout position for the Chirper UI. }}
Usage Example
// Accessing the panel's layout position
ChirperPanel chirper = /* obtain reference from UI manager or scene */;
Debug.Log(chirper.position); // -> LayoutPosition.Right
// If you need a custom chirper positioned differently, subclass:
public class LeftChirperPanel : ChirperPanel
{
public override LayoutPosition position => LayoutPosition.Left;
}