Documentation

Unity Engine

Unity Engine

GetCurrentSize(ParticleSystem)

Calculate the current size of the particle by applying the relevant curves to its startSize property.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public float GetCurrentSize(ParticleSystem system)

Parameters

The Particle System from which this particle was emitted.

Returns

Type

Description

floatCurrent size.