文档

Unity Engine

Unity Engine

SetSubEmitterType(int, ParticleSystemSubEmitterType)

Sets the type of the sub-emitter at the given index.
阅读时间1 分钟最后更新于 1 个月前

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.