Bounds.Boundsstatic function Bounds (center : Vector3, size : Vector3) : BoundsDescriptionCreates new Bounds with a given center and total size. Bound extents will be half the given size.
JavaScript
// Create pillar bounding box centered at the origin using UnityEngine; import UnityEngine |
