Skip to main content

IPourableContainer

An interface in Root.Township, Alta.Liquid.

A liquid container that can pour, implemented by PourableContainer. Pouring particles report hits through it so liquid moves into the container they land in.

Properties​

MemberWhat it is
ILiquidContainer InternalContainer { get; }The liquid container this pours from.
bool IsActive { get; set; }Whether pouring is on; when false, pouring hits are not detected.
bool IsSubmergedInOtherContainer { get; set; }Set by LiquidContainerTrigger while dipped in another container's liquid; stops pouring.

Methods​

MemberWhat it is
void RegisterPouringParticleHit(ILiquidContainer container)Called when a pouring particle lands in another container, counting it as a pour target.

Used in​

Members of other types that take, return or hold a IPourableContainer: