文档

Unity Engine

Unity Engine

Simulate(float, uint)

Use this method to fast-forward the visual effect by simulating all systems for several step counts using the specified delta time.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void Simulate(float stepDeltaTime, uint stepCount = 1)

Parameters

stepDeltaTime

The delta time, in seconds, the simulation applies to each step.

stepCount

Number of steps to proceed.