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.

ColorBySpeedModule

struct in UnityEngine

/

Implemented in:UnityEngine.ParticleSystemModule

Switch to Manual

Description

Script interface for the Color By Speed module.

Properties

colorThe gradient controlling the particle colors.
enabledEnable/disable the Color By Speed module.
rangeApply the color gradient between these minimum and maximum speeds.

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