文档

Unity Engine

Unity Engine

SetSubEmitterSystem(int, ParticleSystem)

Sets the Particle System to use as the sub-emitter at the given index.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public void SetSubEmitterSystem(int index, ParticleSystem subEmitter)

Parameters

index

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

subEmitter

The Particle System to use as the sub-emitter at the specified index.