Unity Engine documentationScript ReferenceUnityEngineRigidbodyConstraints2DFreezeAllFreeze rotation and motion along all axes.阅读时间1 分钟最后更新于 1 个月前Definition Type: Field Namespace: UnityEngine Assembly: UnityEngine.Physics2DModule FreezeAll = FreezePosition | FreezeRotation