This component is an encapsulation of the Collider and Collider2D components, containing the most commonly used properties and methods from these components.
More...
|
static ColliderComponent | CreateInstance (GameObject gameObject, bool includeChildren=true) |
|
|
Vector3 | Center => transform.position + transform.TransformVectorUnscaled(Offset) |
|
|
virtual void | Awake () |
|
abstract void | OnEnable () |
|
abstract void | OnDisable () |
|
|
abstract Vector3 | Size [get, set] |
|
abstract Vector3 | Offset [get, set] |
|
abstract Vector3 | BoundsSize [get] |
|
abstract float | ContactOffset [get] |
|
This component is an encapsulation of the Collider and Collider2D components, containing the most commonly used properties and methods from these components.
The documentation for this class was generated from the following file:
- C:/Unity/Projects/character-controller-pro/Assets/Character Controller Pro/Utilities/Scripts/ColliderComponent.cs