Skip to main content

IReferenceRenderer

An interface in Root.Township, the global namespace.

Implemented by components that keep references to renderers, so they can be updated when renderers are swapped, for example by baking. StackingComponent and DurabilityModule use it.

Methods​

MemberWhat it is
void UpdateRenderers(Renderer[] oldFirstRenderers, Renderer[] newFirstRenderers)Replaces references to the old renderers with the new ones.