SimulationMode2D

enumeration

Cambiar al Manual

Descripción

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

Variables

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.