Version: 2017.1
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.