Skip to main content

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​

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

Fields​

1 private and internal field
MemberWhat it is
private PouringParticles pouringParticlesThe parent PouringParticles.

Properties​

MemberWhat it is
ILiquidContainer Container { get; }The pouring container's internal liquid container.
IPourableContainer Pourable { get; }The pourable container doing the pouring.

Methods​

MemberWhat it is
void RegisterPouringParticleHit(ILiquidContainer container)Tells the pourable container its particles hit the given container.
1 private and internal method
MemberWhat it is
private void Awake()Finds the PouringParticles in the parents.