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

Script language

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

EmissionModule

struct in UnityEngine

Switch to Manual

Description

Script interface for the Emission module.

Variables

burstCountThe current number of bursts.
enabledEnable/disable the Emission module.
rateOverDistanceThe rate at which new particles are spawned, over distance.
rateOverDistanceMultiplierChange the rate over distance multiplier.
rateOverTimeThe rate at which new particles are spawned, over time.
rateOverTimeMultiplierChange the rate over time multiplier.

Public Functions

GetBurstsGet the burst array.
SetBurstsSet the burst array.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答