60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
URL: https://wiki.studiominus.nl/internalReference/LiquidPumpBehaviour.html
|
|
Title: People Playground Modding - LiquidPumpBehaviour
|
|
==================================================
|
|
|
|
public class LiquidPumpBehaviour
|
|
Inherits BloodContainer, Messages.IUse
|
|
The behaviour that controls the Liquid Pressuriser.
|
|
Fields
|
|
public Texture2D Idle
|
|
[SkipSerialisation]
|
|
LED display animations for each mode
|
|
|
|
public PressureDirection Mode
|
|
Current pressure mode for the pump
|
|
|
|
public SpriteRenderer DisplayRenderer
|
|
[SkipSerialisation]
|
|
Reference to the little LED display
|
|
|
|
public PhysicalBehaviour PhysicalBehaviour
|
|
[SkipSerialisation]
|
|
Reference to the object's physical behaviour
|
|
|
|
public float VibrateForce
|
|
This object vibrates when activated and this controls the vibration force intensity
|
|
|
|
public float VibrateRotationSpeed
|
|
Vibration frequency
|
|
|
|
Properties
|
|
public override bool AllowsTransfer
|
|
No description provided
|
|
|
|
public override bool AllowsOverflow
|
|
No description provided
|
|
|
|
public override bool AllowPressureTransfer
|
|
No description provided
|
|
|
|
public override Vector2 Limits
|
|
No description provided
|
|
|
|
public override PressureDirection Pressure
|
|
No description provided
|
|
|
|
public Vector2 ForceVector { get; }
|
|
No description provided
|
|
|
|
Methods
|
|
protected override void Start()
|
|
No description provided
|
|
|
|
public void SetMode(PressureDirection mode)
|
|
Set the pump mode. Does nothing if the behaviour is disabled
|
|
|
|
public void Use(ActivationPropagation activation)
|
|
No description provided
|
|
|
|
protected override void OnDestroy()
|
|
No description provided |