PouringStrengthController
A class in Root.Township, Alta.Liquid.
Works out how hard a PourableContainer pours from how far it's tipped, with an optional boost when fully pouring. Sits next to the container.
- Listed in Stats, effects, heat and liquid
- Inherits or implements
MonoBehaviour - Derived types
FixedPouringStrengthController,ShakeablePouringStrengthController
Constructors
| Member | What it is |
|---|---|
PouringStrengthController() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
| Member | What it is |
|---|---|
protected PourableContainer pouringContainer | The container on the same object. |
protected float pouringMultiplier | Base multiplier on pour strength. |
2 private and internal fields
Methods
1 private and internal method
| Member | What it is |
|---|---|
private void Awake() | Finds the PourableContainer on the same object. |
Used in
Members of other types that take, return or hold a PouringStrengthController: