Skip to main content

IDigable

An interface in Root.Township, the global namespace.

Something a digging tool can dig, like BasicDigable. DiggingImpactor finds it on rigidbodies in range.

Methods​

MemberWhat it is
void Dig(float diggingDamage)Applies a dig with the given damage, from the tool's settings and efficiency.
void DiggingToolHit()Called when a digging tool hits it, before or without a full dig.

Used in​

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