feat: add initial People Playground mod development kit

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

View File

@@ -0,0 +1,23 @@
URL: https://wiki.studiominus.nl/internalReference/ActOnCollide.html
Title: People Playground Modding - ActOnCollide
==================================================
public class ActOnCollide
Inherits MonoBehaviour
Behaviour that invokes a UnityEvent when it gets the MonoBehaviour.OnCollisionEnter2D message
Fields
public float ImpactForceThreshold
[SkipSerialisation]
The minimum amount of force required to invoke the event
public float DispatchChance
[SkipSerialisation]
Chance from 0.0 to 1.0 that the event is triggered
public Collider2D Collider
[SkipSerialisation] [Tooltip("Leave null to allow any collider to trigger the event")]
The collider to watch out for. Any collider triggers the event if this is null.
public UnityEvent Actions
[SkipSerialisation]
The event that is invoked when a sufficient collision occurs. May be null.