Unity Engine documentationScript ReferenceUnityEngineCapsuleCollidercenterThe center of the capsule, measured in the object's local space.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine Assembly: UnityEngine.PhysicsModule public Vector3 center { get; set; }