feat: add initial People Playground mod development kit
This commit is contained in:
27
extracted_wiki_content/internalReference/actonshot.txt
Normal file
27
extracted_wiki_content/internalReference/actonshot.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
URL: https://wiki.studiominus.nl/internalReference/ActOnShot.html
|
||||
Title: People Playground Modding - ActOnShot
|
||||
==================================================
|
||||
|
||||
public class ActOnShot
|
||||
Inherits MonoBehaviour, Messages.IShot
|
||||
Behaviour that invokes an event when it is shot by something
|
||||
Fields
|
||||
public float ShotDamageThreshold
|
||||
[SkipSerialisation]
|
||||
The minimum amount of damage that needs to be done in order to invoke the event
|
||||
|
||||
public float CartridgeDamageThreshold
|
||||
[SkipSerialisation]
|
||||
The minimum amount of damage the cartridge inherently does 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 event that is invoked when the object is shot
|
||||
|
||||
Methods
|
||||
public void Shot(Shot shot)
|
||||
No description provided
|
||||
Reference in New Issue
Block a user