public class DamagableMachineryBehaviour

Inherits MonoBehaviour, Messages.IShot, Messages.ISlice, Messages.IOnFragmentHit, Messages.IBreak, Messages.IStabbed, Messages.IRepair

No description provided

Fields

public float FirearmDamageMultiplier

No description provided


public float ExplosionDamageMultiplier

No description provided


public float StabDamageMultiplier

No description provided


public float BreakDamage

No description provided


public bool ExplodesOnBreak

No description provided


public bool Waterproof

No description provided


public bool IndestructibilityCanBeToggled

No description provided


public float FragmentForce

[ShowIf(nameof(ExplodesOnBreak))] [System.Obsolete]

Use Explosion instead


public float ExplosionRange

[ShowIf(nameof(ExplodesOnBreak))] [System.Obsolete]

Use Explosion instead


public ExplosionCreator.ExplosionParameters Explosion

[SkipSerialisation] [ShowIf(nameof(ExplodesOnBreak))]

No description provided


public float TemperatureThreshold

No description provided


public float FireDamageThreshold

[Range(0, 1)]

No description provided


public float Health

[Space]

No description provided


public bool CanRepair

No description provided


public bool Destroyed

[ReadOnly]

No description provided


public bool Indestructible

No description provided


public GameObject ExplosionPrefab

[Space] [SkipSerialisation]

Prefab to spawn on explosion


public Vector4 RandomOffset

[HideInInspector] [SkipSerialisation]

No description provided


public PhysicalBehaviour PhysicalBehaviour

[SkipSerialisation] [HideInInspector]

No description provided


public GameObject SparkPrefab

[SkipSerialisation]

No description provided


public MonoBehaviour[] BehavioursToToggle

[SkipSerialisation]

No description provided


public GameObject[] GameObjectsToToggle

[SkipSerialisation]

No description provided


public UnityEvent OnRepaired

[SkipSerialisation]

No description provided


public bool HeatShielded

No description provided


public const float SparkChancePerSecond

No description provided

Constant value: 0.00004f


Methods

public void Shot(Shot shot)

No description provided


public void Stabbed(Stabbing stabbing)

No description provided


public void OnFragmentHit(float force)

No description provided


public void Break(Vector2 velocity)

No description provided


public void OnEMPHit()

No description provided


public void BreakPermanently()

No description provided


public void Slice()

No description provided


public void ForceBreak()

No description provided


public void Repair()

No description provided


Attention!

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

bi bij bibi