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,17 @@
URL: https://wiki.studiominus.nl/internalReference/SimpleLightningEmitterBehaviour.html
Title: People Playground Modding - SimpleLightningEmitterBehaviour
==================================================
public class SimpleLightningEmitterBehaviour
Inherits MonoBehaviour
Singleton utility class that can generate cheap lightning bolts
Fields
public static SimpleLightningEmitterBehaviour Instance
The main instance of the emitter
public GameObject PoolableLightningPrefab
No description provided
Methods
public void Emit(Vector2 origin, Vector2 direction, float maxSearchRange, float width, System.Action<PhysicalBehaviour, Vector2> onHit, Color color, LayerMask layers, in float attractionInfluence = 3, in int maxIterations = 128, in float maxStep = 0.07f, in float randomness = 0.05f, PhysicalBehaviour[] exclude = null)
Emit a lightning bolt from a point into a direction.