public class Map

Inherits ScriptableObject

[CreateAssetMenu(menuName = "PPG/Map")]

A map

Fields

public string UniqueIdentity

[ContextMenuItem("Regenerate identity", nameof(RegenerateIdentity))]

A globally unique identity. Automatically generated.


public string Description

[Multiline]

Short description of the map. Unused.


public Sprite Thumbnail

Thumbnail of the map 512x512


public Sprite Preview

Large preview image of the map.


public GameObject Prefab

[Space]

Reference to the prefab of the map to instantiate. This can be null if the InstantiateOverride delegate isn't null


public Action<Transform> InstantiateOverride

[System.NonSerialized]

If not null, the map loader will use this function instead of Prefab


Attention!

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

bi bij bibi