文档

Unity Engine

Unity Engine

height

The height of the capsule measured in the object's local space.
阅读时间1 分钟最后更新于 1 天前

Definition

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.