Skip to main content

VisualEffectsUtilities

A static class in Root.Township, the global namespace.

Helper for visual doubles: pooled copies of an object's meshes that effects can play on.

Methods​

MemberWhat it is
static PooledObject GetVisualDouble(Component component)Takes an ObjectVisualDouble from the pickup type settings pool, copies the object's mesh renderers into it and unparents it. Used by DockedDissolver.
static PooledObject GetVisualDouble(GameObject gameObject)Takes an ObjectVisualDouble from the pickup type settings pool, copies the object's mesh renderers into it and unparents it. Used by DockedDissolver.