SimulationMode2D

enumeration

Description

A selection of modes that control when Unity executes the 2D physics simulation.

Properties

FixedUpdateUse this enumeration to specify to Unity that it should execute the physics simulation immediately after the MonoBehaviour.FixedUpdate.
UpdateUse this enumeration to specify to Unity that it should execute the physics simulation immediately after MonoBehaviour.Update.
ScriptUse this enumeration to specify to Unity that it should execute the physics simulation manually when you call Physics2D.Simulate.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答