CheckTransformChanges()
Checks for any transform changes. Anything using PhysicsWorld.RegisterTransformChange will immediately be notified of any changes. This should be used sparingly otherwise it may impact performance. The preference should be not using this but instead control transform changes to be monitored with PhysicsWorld.transformChangeMode.
阅读时间1 分钟最后更新于 21 天前
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static int CheckTransformChanges()
Returns
Type | Description |
|---|---|
| int | The number of changed transforms that were detected. |