Skip to content

Game.UI.InGame.CinematicCameraPanel

Assembly:
Assembly-CSharp.dll

Namespace:
Game.UI.InGame

Type:
public class

Base:
GamePanel

Summary:
A small UI panel class that represents the cinematic camera controls in the in-game UI. This panel is positioned on the right side of the game UI layout by overriding the LayoutPosition property to return LayoutPosition.Right. The class itself is minimal and only customizes placement; behavior and visuals are provided by the GamePanel base class and the UI system.


Fields

  • This class declares no private or public fields in the provided source.
    Additional state, if any, is inherited from GamePanel or provided elsewhere in the UI framework.

Properties

  • public override LayoutPosition position { get; }
    Overrides the base panel position to place the panel on the right side of the screen. The implementation is expression-bodied and returns LayoutPosition.Right, informing the layout manager where to anchor this panel.

Constructors

  • public CinematicCameraPanel()
    No explicit constructors are defined in the source; the class uses the default parameterless constructor provided by C#. Initialization logic (if required) would typically be handled by lifecycle methods on GamePanel or the UI framework.

Methods

  • This class does not declare additional methods in the provided source.
    Any runtime behavior (opening, closing, updating the panel) is handled by the GamePanel base class and the surrounding UI system.

Usage Example

// The panel is registered/instantiated by the UI system.
// Example: querying its position for layout logic.

CinematicCameraPanel panel = new CinematicCameraPanel();
Debug.Log(panel.position); // Outputs: LayoutPosition.Right

// If you need to extend the panel for custom behavior:
public class MyCinematicCameraPanel : CinematicCameraPanel
{
    // Add custom fields, properties or override lifecycle methods from GamePanel.
}