Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SimulationMode2D

A selection of modes that control when Unity executes the 2D physics simulation.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public enum SimulationMode2D

Remarks

Additional Resources: Physics2D.simulationMode.

Fields

Value

Description

FixedUpdateUse this enumeration to specify to Unity that it should execute the physics simulation immediately after the MonoBehaviour.FixedUpdate().
ScriptUse this enumeration to specify to Unity that it should execute the physics simulation manually when you call Physics2D.Simulate.
UpdateUse this enumeration to specify to Unity that it should execute the physics simulation immediately after MonoBehaviour.Update().