feat: add initial People Playground mod development kit

This commit is contained in:
2026-01-06 06:35:51 +03:00
parent b89c805060
commit 27da387c5a
1095 changed files with 40267 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
URL: https://wiki.studiominus.nl/internalReference/Map.html
Title: People Playground Modding - Map
==================================================
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.
public string Author
Name of the creator of the map.
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 MapInternals EditorMapAssembly
Used to assemble an editor map into a fully functional map
public Action<Transform> InstantiateOverride
[System.NonSerialized]
If not null, the map loader will use this function instead of Prefab