Skip to main content

PooledParticleSystemMeshEmision

A class in Root.Township, the global namespace.

A timed pooled effect whose particle system emits from a target mesh renderer's shape.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private ParticleSystem systemThe particle system that emits from the mesh.

Methods​

MemberWhat it is
void SetMesh(MeshRenderer targetMeshRenderer)Sets the particle shape to the given mesh renderer and plays the system.
1 private and internal method
MemberWhat it is
private void IBuildRendererPostBake.PostBake()Build step: finds the particle system in children.

Used in​

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