Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ParticleSystem.SubEmittersModule.SetSubEmitterType

Switch to Manual
public void SetSubEmitterType(int index, ParticleSystemSubEmitterType type);

Parameters

index The index of the sub-emitter being modified.
type The new spawning type to assign to this sub-emitter.

Description

Set the type of the sub-emitter at the given index.