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


Attention!

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

bi bij bibi