Class MapSettingsPanelOverlay
public sealed class MapSettingsPanelOverlay : MonoBehaviour
- Inheritance
-
object
Object
Component
Behaviour
MonoBehaviour
MapSettingsPanelOverlay
Fields
FontClasses
public static readonly string[] FontClasses
Field Value
- string[]
FontSizes
public static readonly float[] FontSizes
Field Value
- float[]
PanelOrder
public const int PanelOrder = 20
Field Value
- int
PanelTemplate
[Tooltip("UXML for the panel. Left empty, the tree is loaded from Resources/UI/MapSettingsPanel. Set this to ship a replacement layout without editing the library.")]
public VisualTreeAsset PanelTemplate
Field Value
- VisualTreeAsset
PanelWidth
public const float PanelWidth = 320
Field Value
- float
RefreshSeconds
[Tooltip("Seconds between refreshes of the storage readouts while the panel is open. The numbers move slowly and reading them costs a cache stats call, so this is not a per-frame job.")]
public float RefreshSeconds
Field Value
- float
ResourcePath
public const string ResourcePath = "UI/MapSettingsPanel"
Field Value
- string
StartTab
[Tooltip("Tab shown the first time the panel opens.")]
public SettingsTab StartTab
Field Value
- SettingsTab
Properties
Collapsed
public bool Collapsed { get; }
Property Value
- bool
CurrentTab
public SettingsTab CurrentTab { get; set; }
Property Value
- SettingsTab
Source
public IMapSettingsSource Source { get; set; }
Property Value
- IMapSettingsSource
Methods
Collapse()
Refresh()
SetCollapsed(bool)
public void SetCollapsed(bool collapsed)
Parameters
collapsed bool