Version: 2023.1

SimulationMode

enumeration

切换到手册

描述

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

变量

FixedUpdateUse this enumeration to instruct Unity to execute the physics simulation immediately after the MonoBehaviour.FixedUpdate.
UpdateUse this enumeration to instruct Unity to execute the physics simulation immediately after MonoBehaviour.Update.
ScriptUse this enumeration to instruct Unity to execute the physics simulation manually when you call Physics.Simulate.