Unity Engine documentationScript ReferenceUnityEngineRigidbodyConstraints2DFreezePositionYFreeze motion along the Y-axis.阅读时间1 分钟最后更新于 2 个月前Definition Type: Field Namespace: UnityEngine Assembly: UnityEngine.CoreModule FreezePositionY = 2