23 lines
713 B
Plaintext
23 lines
713 B
Plaintext
URL: https://wiki.studiominus.nl/internalReference/ActOnBlast.html
|
|
Title: People Playground Modding - ActOnBlast
|
|
==================================================
|
|
|
|
public class ActOnBlast
|
|
Inherits MonoBehaviour, Messages.IOnFragmentHit
|
|
Behaviour that invokes an event when it is near an explosion
|
|
Fields
|
|
public float ForceThreshold
|
|
[SkipSerialisation]
|
|
The minimum amount of explosion force in order to invoke the event
|
|
|
|
public float Chance
|
|
[SkipSerialisation]
|
|
The chance of the event being invoked, ranging from 0.0 to 1.0
|
|
|
|
public UnityEvent Actions
|
|
[SkipSerialisation]
|
|
The chance of the event being invoked, ranging from 0.0 to 1.0
|
|
|
|
Methods
|
|
public void OnFragmentHit(float fragmentForce)
|
|
No description provided |