Version: 2020.2
言語: 日本語
public float spawnCount ;

説明

The current Spawn count.

The Spawn count is relative to a unique frame. If this custom block is the first one in the stack, the Spawn count is 0.0f.

The Spawn system accumulates the Spawn count. Remaining integer values are consumed by a particles system.

For example, the internal constant Spawn rate is implemented this way:

state.spawnCount += currentRate * state.deltaTime