Skip to main content

FixedPouringStrengthController

A class in Root.Township, Alta.Liquid.

Pouring strength controller with a strength set from code instead of from tipping.

Constructors​

MemberWhat it is
FixedPouringStrengthController()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private float currentPouringStrengthThe set strength.

Methods​

MemberWhat it is
override float GetPouringStrength(out bool isFullyPouring)Returns the set strength times the pouring multiplier. Never reports fully pouring.
void SetPouringStrength(float newPouringStrength)Sets the strength.