SimulationStage
A flag enum to determine which simulation stages to run.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public enum SimulationStage : ushort
Remarks
Additional Resources: RunSimulationStage, RunSimulationStage.
Fields
Value | Description |
|---|---|
| All | Shorthand for combining all the SimulationStages. |
| None | Shorthand for none of the SimulationStages. |
| PrepareSimulation | This stage prepares the physics scene for simulation. |
| PublishSimulationResults | This stage publishes simulation results. |
| RunSimulation | This stage advances the scene in time. |