文档

Unity Engine

Unity Engine

aliveTimePercent

Specifies how long each particle has been alive.
阅读时间1 分钟最后更新于 1 个月前

Definition

public readonly NativeArray<float> aliveTimePercent { get; }

Remarks

The value is a value between 0 and 100, where 0 means the particle has just been born, and 100 means it is at the end of its lifetime.