feat: add initial People Playground mod development kit
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user