Character Controller Pro  1.3.8
A 2D/3D character controller asset for the Unity Engine.
Lightbug.Utilities.ColliderComponent Class Referenceabstract

This component is an encapsulation of the Collider and Collider2D components, containing the most commonly used properties and methods from these components. More...

Inheritance diagram for Lightbug.Utilities.ColliderComponent:
Lightbug.Utilities.ColliderComponent2D Lightbug.Utilities.ColliderComponent3D Lightbug.Utilities.BoxColliderComponent2D Lightbug.Utilities.CapsuleColliderComponent2D Lightbug.Utilities.SphereColliderComponent2D Lightbug.Utilities.BoxColliderComponent3D Lightbug.Utilities.CapsuleColliderComponent3D Lightbug.Utilities.SphereColliderComponent3D

Static Public Member Functions

static ColliderComponent CreateInstance (GameObject gameObject, bool includeChildren=true)
 

Public Attributes

Vector3 Center => transform.position + transform.TransformVectorUnscaled(Offset)
 

Protected Member Functions

virtual void Awake ()
 
abstract void OnEnable ()
 
abstract void OnDisable ()
 

Properties

abstract Vector3 Size [get, set]
 
abstract Vector3 Offset [get, set]
 
abstract Vector3 BoundsSize [get]
 
abstract float ContactOffset [get]
 

Detailed Description

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: