Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetCurrentColor(ParticleSystem)

Calculate the current color of the particle by applying the relevant curves to its startColor property.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public Color32 GetCurrentColor(ParticleSystem system)

Parameters

The Particle System from which this particle was emitted.

Returns

Type

Description

Color32Current color.