LiquidPouringParticlesMarker
A class in Root.Township, Alta.Liquid.
Marks a pour's particle system, so a container hit by the particles can find the pourable container they came from.
Constructors
| Member | What it is |
|---|
LiquidPouringParticlesMarker() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
Properties
| Member | What it is |
|---|
ILiquidContainer Container { get; } | The pouring container's internal liquid container. |
IPourableContainer Pourable { get; } | The pourable container doing the pouring. |
Methods
| Member | What it is |
|---|
void RegisterPouringParticleHit(ILiquidContainer container) | Tells the pourable container its particles hit the given container. |
1 private and internal method