FixedUpdate.Physics2DFixedUpdate
Native Player loop system that runs the 2D physics simulation step during the fixed update.
阅读时间1 分钟最后更新于 5 天前
Definition
- Type: Struct
- Namespace: UnityEngine.PlayerLoop
- Assembly: UnityEngine.CoreModule
public struct FixedUpdate.Physics2DFixedUpdate
Remarks
By default, Unity simulates 2D physics in this system. If Physics2D.simulationMode is set to update in the Update loop, runs the simulation instead.
PreLateUpdate.Physics2DLateUpdateThis struct identifies a native system in the Player loop. It has no members, and the system's update logic runs in native engine code. Use this type with PlayerLoopSystem.type to find the system when you reorder, replace, or remove it in a custom Player loop. For more information, refer to Customizing the Player loop.