Class BoxCollider
Inherited Members
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public class BoxCollider : Collider
Properties
center
Declaration
public Vector3 center { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
extents
Declaration
[Obsolete("Use BoxCollider.size instead.")]
public Vector3 extents { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
size
Declaration
public Vector3 size { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |