40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
URL: https://wiki.studiominus.nl/internalReference/MapSelectionMenuBehaviour.html
|
|
Title: People Playground Modding - MapSelectionMenuBehaviour
|
|
==================================================
|
|
|
|
public class MapSelectionMenuBehaviour
|
|
Inherits MonoBehaviour
|
|
Behaviour that generates the map selection menu
|
|
Fields
|
|
public static MapSelectionMenuBehaviour Instance
|
|
No description provided
|
|
|
|
public Map[] Maps
|
|
[System.Obsolete]
|
|
Array containing all maps to show. Deprecated. Use the map registry (MapRegistry).
|
|
|
|
public Image PreviewImage
|
|
Reference to the large preview image panel
|
|
|
|
public bool AutoAdjustContainerSize
|
|
Should the script automatically adjust the container size?
|
|
|
|
public float WidthPerItem
|
|
[ShowIf("AutoAdjustContainerSize")]
|
|
The width per entry. Used by AutoAdjustContainerSize to determine the final size
|
|
|
|
public float SpacingPerItem
|
|
[ShowIf("AutoAdjustContainerSize")]
|
|
The spacing per entry. Used by AutoAdjustContainerSize to determine the final size
|
|
|
|
public bool AutoPopulateMapList
|
|
[System.Obsolete]
|
|
Automatically populates the map array if true. Deprecated. Use the map registry (MapRegistry).
|
|
|
|
public GameObject MapViewPrefab
|
|
[Space]
|
|
Reference to the prefab that is used as a map button. Prefab requires a MapViewBehaviour.
|
|
|
|
Methods
|
|
public static void RegenerateView()
|
|
No description provided |