feat: add initial People Playground mod development kit

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

View File

@@ -0,0 +1,19 @@
URL: https://wiki.studiominus.nl/internalReference/TextMeshInteractableSync.html
Title: People Playground Modding - TextMeshInteractableSync
==================================================
public class TextMeshInteractableSync
Inherits MonoBehaviour
Syncs a UI text graphic with a UI selectable becuause Unity apparently can't handle several UI graphics being updated by a single UI selectable. It can also only check for disabled state because the "currentSelectionState" property is protected for unknown reasons. If you plan on making a game, do not use Unity.
Fields
public TMPro.TextMeshProUGUI TextMesh
The text mesh to set the colour of
public UnityEngine.UI.Selectable Other
The selectable to read
public Color NormalColour
Colour if the selectable is interactable
public Color DisabledColour
Colour if the selectable is not interactable