Property | Type | Description | |
---|---|---|---|
leftHandCollider | |||
wallLayerMask | LayerMask |
Method | Description | |
---|---|---|
ActivateControls ( ) : void | ||
AreControlsEnabled ( ) : bool | ||
DeactivateControls ( ) : void | ||
MoveLeft ( float holdTime ) : void |
Move Left Input was pressed
|
|
MoveRight ( float holdTime ) : void |
Move Right Input was pressed
|
|
OnCollisionLeftHand ( ) : void |
Called when LeftHand Collider hits a wall
|
|
OnCollisionRightHand ( ) : void |
Called when RightHand Collider hits a wall
|
|
ToggleTurnLeft ( bool isTurning ) : void |
Input for Turn Left was modified
|
|
ToggleTurnRight ( bool isTurning ) : void |
Input for Turn Left was modified
|
Method | Description | |
---|---|---|
Awake ( ) : void | ||
MoveSloth ( bool isRight, float holdTime ) : IEnumerator |
Initiate a sloth movement
|
|
PushSloth ( Vector3 force ) : IEnumerator | ||
RotateSloth ( Vector3 rotation, float animTime, |
Rotate the transform based on given rotation, time and curve
|
|
Start ( ) : void | ||
StartCooldownMoveLeft ( ) : IEnumerator |
Left Move Cooldown
|
|
StartCooldownMoveRight ( ) : IEnumerator |
Right Move Cooldown
|
|
Update ( ) : void |
public ToggleTurnLeft ( bool isTurning ) : void | ||
isTurning | bool | |
return | void |
public ToggleTurnRight ( bool isTurning ) : void | ||
isTurning | bool | |
return | void |
public SphereCollider,UnityEngine leftHandCollider | ||
return |