25 lines
813 B
Plaintext
25 lines
813 B
Plaintext
URL: https://wiki.studiominus.nl/internalReference/BreakJointOnShotBehaviour.html
|
|
Title: People Playground Modding - BreakJointOnShotBehaviour
|
|
==================================================
|
|
|
|
public class BreakJointOnShotBehaviour
|
|
Inherits MonoBehaviour, Messages.IShot, Messages.ISlice
|
|
[ExecuteAlways]
|
|
This behaviour will break the associated 2D joint when it received the OnShot messageThis behaviour will self-destruct if the joint has snapped
|
|
Fields
|
|
public Joint2D Joint
|
|
[SkipSerialisation]
|
|
No description provided
|
|
|
|
public float Chance
|
|
Chance from 0 to 1 that being shot will
|
|
|
|
public float ShotIntensityInfluence
|
|
The higher this number is, the more influence shot damage has on the chance calculation
|
|
|
|
Methods
|
|
public void Shot(Shot shot)
|
|
No description provided
|
|
|
|
public void Slice()
|
|
No description provided |