53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
URL: https://wiki.studiominus.nl/internalReference/LiquidOutletBehaviour.html
|
|
Title: People Playground Modding - LiquidOutletBehaviour
|
|
==================================================
|
|
|
|
public class LiquidOutletBehaviour
|
|
Inherits BloodContainer
|
|
Controls the liquid outlet
|
|
Fields
|
|
public ParticleSystem LiquidParticles
|
|
[SkipSerialisation]
|
|
The visibile liquid particles
|
|
|
|
public ParticleSystem WaterPuffParticles
|
|
[SkipSerialisation]
|
|
The water puff particles that only appear under water
|
|
|
|
public FancyBloodSplatController PhysicalParticles
|
|
[SkipSerialisation]
|
|
The physical particles that collide and interact with objects
|
|
|
|
public PhysicalBehaviour Phys
|
|
[SkipSerialisation]
|
|
The PhysicalBehaviour attached to the object
|
|
|
|
public const float DrainRate
|
|
Rate at which the container is emptied per particle
|
|
Constant value: 0.1f
|
|
|
|
Properties
|
|
public override float ScaledLiquidAmount
|
|
No description provided
|
|
|
|
public override PressureDirection Pressure
|
|
No description provided
|
|
|
|
public override bool AllowsOverflow
|
|
No description provided
|
|
|
|
public override bool AllowsTransfer
|
|
No description provided
|
|
|
|
public override Vector2 Limits
|
|
No description provided
|
|
|
|
public override bool AllowPressureTransfer
|
|
No description provided
|
|
|
|
Methods
|
|
public bool IsPulling()
|
|
Checks if the outlet is pulling or pushing.
|
|
|
|
protected override void OnDestroy()
|
|
No description provided |