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


Attention!

This member is obsolete and should not be used. It is a remnant from the past.

bi bij bibi