文档

Unity Engine

Unity Engine

SimulationOption

An enumerator that specifies physics simulation options.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public enum SimulationOption : ushort

Fields

Value

Description

AllShorthand for all SimulationOption flags.
IgnoreEmptyScenesDefine whether or not to skip the simulation if there are no active physics objects in the scene.
NoneShorthand for no SimulationOption flags.
SyncTransformsDefine whether or not to sync modified Transform poses to the physics system.