Unity Engine documentationScript ReferenceUnity.U2D.PhysicsPhysicsBodyPhysicsBody.BodyConstraintsPositionYConstrain motion along the Y-axis.阅读时间1 分钟最后更新于 2 个月前Definition Type: Field Namespace: Unity.U2D.Physics Assembly: UnityEngine.PhysicsCore2DModule PositionY = 2