public Vector3 size ;

설명

Describes the dimensions of the shape.

Used only for the primitive shapes: Sphere, Capsule, Box.

• Sphere: size.x is radius of the sphere.

• Box: size is dimensions of the box, the box extends from -size/2 to size/2.

• Capsule: size.x is radius of the capsule, size.y is the height of the capsule, the capsules tips extend from -size.y/2 to size.y/2.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961