Свойство | Тип | Описание | |
---|---|---|---|
leftHandCollider | |||
wallLayerMask | LayerMask |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
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 MoveRight ( float holdTime ) : void | ||
holdTime | float | |
Результат | void |
public ToggleTurnLeft ( bool isTurning ) : void | ||
isTurning | bool | |
Результат | void |
public ToggleTurnRight ( bool isTurning ) : void | ||
isTurning | bool | |
Результат | void |
public SphereCollider,UnityEngine leftHandCollider | ||
Результат |