ドキュメント

Unity Engine

Unity Engine

SimulationMode2D

A selection of modes that control when Unity executes the 2D physics simulation.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
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().