FixedUpdate.PhysicsCore2DFixedUpdate
Native Player loop system that simulates the low-level 2D physics worlds in the Unity.U2D.Physics namespace that are set to simulate in the fixed update.
阅读时间1 分钟最后更新于 5 天前
Definition
- Type: Struct
- Namespace: UnityEngine.PlayerLoop
- Assembly: UnityEngine.CoreModule
public struct FixedUpdate.PhysicsCore2DFixedUpdate
Remarks
This system simulates only physics worlds whose simulation type is set to , which is the default, using Time.fixedDeltaTime. Worlds set to simulate in the Update loop are simulated in . This system also sends Transform change callbacks when the transform change mode is set to . This system is active only in Play mode.
FixedUpdatePreLateUpdate.PhysicsCore2DLateUpdateFixedUpdateThis 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.