Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetSubEmitterType(int, ParticleSystemSubEmitterType)

Sets the type of the sub-emitter at the given index.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public void SetSubEmitterType(int index, ParticleSystemSubEmitterType type)

Parameters

index

The index of the sub-emitter you want to modify.

The new spawning type to assign to this sub-emitter.