49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
URL: https://wiki.studiominus.nl/internalReference/LiquidContainerLeakingBehaviour.html
|
|
Title: People Playground Modding - LiquidContainerLeakingBehaviour
|
|
==================================================
|
|
|
|
public class LiquidContainerLeakingBehaviour
|
|
Inherits MonoBehaviour, Messages.IShot, Messages.IExitShot, Messages.IUnstabbed, Messages.IRepair, Messages.IOnBeforeSerialise
|
|
Creates draining holes when the container is damaged
|
|
Nested types
|
|
LiquidContainerLeakingBehaviour.Hole
|
|
Fields
|
|
public float DrainIntensityMultiplier
|
|
The drain intensity of each hole that is created. This only applies to new holes.
|
|
|
|
public float VisualPressureMultiplier
|
|
The particle force intensity of each hole that is created. This only applies to new holes.
|
|
|
|
public PhysicalBehaviour PhysicalBehaviour
|
|
[SkipSerialisation]
|
|
Reference to the relevant PhysicalBehaviour
|
|
|
|
public GameObject HolePrefab
|
|
[SkipSerialisation]
|
|
Reference to the prefab that is created when a hole is made
|
|
|
|
public BloodContainer Source
|
|
[SkipSerialisation]
|
|
The liquid container source to consider
|
|
|
|
public Hole[] SerialisableHoles
|
|
Used for serialisation
|
|
|
|
public bool HasHoles
|
|
Is true when there is more than 0 holes in the container.There is no point in settings this. This is set to true when a hole is created and set to false when all holes are repaired.
|
|
|
|
Methods
|
|
public void Shot(Shot shot)
|
|
No description provided
|
|
|
|
public void ExitShot(Shot shot)
|
|
No description provided
|
|
|
|
public void Unstabbed(Stabbing stabbing)
|
|
No description provided
|
|
|
|
public void Repair()
|
|
No description provided
|
|
|
|
public void OnBeforeSerialise()
|
|
No description provided |