height
The height of the capsule measured in the object's local space.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public float height { get; set; }
Remarks
The capsule's height will be scaled by the transform's scale. Note: The height is the actual height including the half-spheres at each end.