Legacy Documentation: Version 2018.1 (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

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

Description

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

Did you find this page useful? Please give it a rating: