Skip to content

UnityEngineCharacterController

API reference for UnityEngineCharacterController.

Properties

PropertyTypeAccess
attachedArticulationBodyUnityEngineArticulationBodyget
attachedRigidbodyRigidbodyget
boundsUnityEngineBoundsget
centerVector3get, set
collisionFlagsUnityEngineCollisionFlagsget
contactOffsetfloatget, set
detectCollisionsboolget, set
enabledboolget, set
enableOverlapRecoveryboolget, set
excludeLayersUnityEngineLayerMaskget, set
gameObjectGameObjectget
hasModifiableContactsboolget, set
heightfloatget, set
includeLayersUnityEngineLayerMaskget, set
isGroundedboolget
isTriggerboolget, set
layerOverridePriorityintget, set
materialUnityEnginePhysicMaterialget, set
minMoveDistancefloatget, set
namestringget, set
providesContactsboolget, set
radiusfloatget, set
sharedMaterialUnityEnginePhysicMaterialget, set
skinWidthfloatget, set
slopeLimitfloatget, set
stepOffsetfloatget, set
transformTransformget
velocityVector3get

Methods

ClosestPoint

ClosestPoint(position: Vector3) -> Vector3

ClosestPointOnBounds

ClosestPointOnBounds(position: Vector3) -> Vector3

Equals

Equals(other: object) -> bool

GetComponent

GetComponent(type: string) -> UnityEngineComponent
GetComponent(type: SystemType) -> UnityEngineComponent
GetComponent(type: SystemType) -> UnityEngineObject

GetComponentInChildren

GetComponentInChildren(includeInactive: bool, type: SystemType) -> UnityEngineObject
GetComponentInChildren(t: SystemType, includeInactive: bool) -> UnityEngineComponent
GetComponentInChildren(t: SystemType) -> UnityEngineComponent
GetComponentInChildren(type: SystemType) -> UnityEngineObject

GetComponentInParent

GetComponentInParent(includeInactive: bool, type: SystemType) -> UnityEngineObject
GetComponentInParent(t: SystemType, includeInactive: bool) -> UnityEngineComponent
GetComponentInParent(t: SystemType) -> UnityEngineComponent
GetComponentInParent(type: SystemType) -> UnityEngineObject

GetComponents

GetComponents(results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]], type: SystemType) -> void
GetComponents(type: SystemType, results: SystemCollectionsGenericList`1[[UnityEngineComponent, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> void
GetComponents(type: SystemType) -> UnityEngineComponent[]
GetComponents(type: SystemType) -> UnityEngineObject[]

GetComponentsInChildren

GetComponentsInChildren(results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]], type: SystemType) -> void
GetComponentsInChildren(includeInactive: bool, result: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> void
GetComponentsInChildren(includeInactive: bool, type: SystemType) -> UnityEngineObject[]
GetComponentsInChildren(t: SystemType, includeInactive: bool) -> UnityEngineComponent[]
GetComponentsInChildren(t: SystemType) -> UnityEngineComponent[]
GetComponentsInChildren(type: SystemType) -> UnityEngineObject[]

GetComponentsInParent

GetComponentsInParent(includeInactive: bool, results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> void
GetComponentsInParent(includeInactive: bool, type: SystemType) -> UnityEngineObject[]
GetComponentsInParent(t: SystemType, includeInactive: bool) -> UnityEngineComponent[]
GetComponentsInParent(t: SystemType) -> UnityEngineComponent[]
GetComponentsInParent(type: SystemType) -> UnityEngineObject[]

GetHashCode

GetHashCode() -> int

GetInstanceID

GetInstanceID() -> int

GetType

GetType() -> SystemType

Move

Move(motion: Vector3) -> UnityEngineCollisionFlags

Raycast

Raycast(ray: UnityEngineRay, hitInfo: UnityEngineRaycastHit, maxDistance: float) -> bool

SimpleMove

SimpleMove(speed: Vector3) -> bool

ToString

ToString() -> string