LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

ColorBySpeedModule

struct in UnityEngine

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.