Skip to main content

PlayerEffectParticle

A class in Root.Township, the global namespace.

Effect on a player that fades and releases, with a radius you can set across all its particle systems.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private ParticleSystem[] particlesThe particle systems whose shape radius is set.

Properties​

MemberWhat it is
float Radius { get; set; }Shape radius of the particles in world scale. Setting it updates every system.

Methods​

MemberWhat it is
override void PostBake()Build step: removes null particle systems.
1 private and internal method
MemberWhat it is
private void OnValidate()Editor: fills particles from children if empty.

Used in​

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