Version: 2023.2

Physics2D.SyncTransforms

切换到手册
public static void SyncTransforms ();

描述

同步。

When a Transform component changes, any Rigidbody2D or Collider2D on that Transform or its children may need to be repositioned, rotated or scaled depending on the change to the Transform.