Game.UI.InGame.RadioPanel
Assembly: Assembly-CSharp.dll
Namespace: Game.UI.InGame
Type: public class
Base: GamePanel
Summary:
Represents the in-game radio panel UI element. This class is a simple specialization of GamePanel that places the radio panel on the right side of the screen by overriding the layout position. It does not add additional fields or behavior beyond the position override, relying on the GamePanel base class for functionality.
Fields
- This class declares no fields.
The RadioPanel contains no private or public fields of its own; any state is provided by the GamePanel base class or other UI systems.
Properties
public override LayoutPosition position { get; }
Overrides the layout position for this panel and returns LayoutPosition.Right. This tells the UI layout system to anchor or place the RadioPanel on the right side of the UI.
Constructors
public RadioPanel()
No explicit constructor is defined in source — the default parameterless constructor is used. Initialization logic (if any) typically lives in the GamePanel base class or in Unity lifecycle methods.
Methods
- This class declares no methods.
All runtime behavior and lifecycle handling are inherited from GamePanel and the broader UI framework.
Usage Example
// Accessing the position of the RadioPanel (example usage within UI code)
var radioPanel = new RadioPanel();
Debug.Log(radioPanel.position); // Outputs: LayoutPosition.Right
// Or derive to extend functionality while keeping the same location
public class CustomRadioPanel : RadioPanel
{
// Optionally add custom behavior or override base methods from GamePanel
}