public class MapSelectionMenuBehaviour

Inherits MonoBehaviour

Behaviour that generates the map selection menu

Fields

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 void RegenerateView()

No description provided


Attention!

This member is obsolete and should not be used. It is a remnant from the past.

bi bij bibi