Свойство | Тип | Описание | |
---|---|---|---|
canCapeFly | bool | ||
canJump | bool | ||
canWallJump | bool | ||
capeFlyGravity | float | ||
extraJumpHeight | float | ||
getUserInput | bool | ||
gravity | float | ||
horizontalInput | float | ||
inAirControlAcceleration | float | ||
isMoving | bool | ||
jumpButton | bool | ||
jumpHeight | float | ||
rotateSpeed | float | ||
runSpeed | float | ||
speedSmoothing | float | ||
trotAfterSeconds | float | ||
trotSpeed | float | ||
verticalInput | float | ||
walkSpeed | float |
Метод | Описание | |
---|---|---|
ApplyGravity ( ) : void | ||
ApplyJumping ( ) : void | ||
ApplyWallJump ( ) : void | ||
Awake ( ) : void | ||
DidJump ( ) : void | ||
GetDirection ( ) : Vector3 | ||
GetLean ( ) : float | ||
GetLockCameraTimer ( ) : float | ||
GetSpeed ( ) : float | ||
HasJumpReachedApex ( ) : bool | ||
IsCapeFlying ( ) : bool | ||
IsGrounded ( ) : bool | ||
IsGroundedWithTimeout ( ) : bool | ||
IsJumping ( ) : bool | ||
IsMovingBackwards ( ) : bool | ||
OnControllerColliderHit ( |
||
Reset ( ) : void | ||
SuperJump ( float height ) : void | ||
SuperJump ( float height, Vector3 jumpVelocity ) : void | ||
Update ( ) : void | ||
UpdateSmoothedMovementDirection ( ) : void |
Метод | Описание | |
---|---|---|
CalculateJumpVerticalSpeed ( float targetJumpHeight ) : float |
public OnControllerColliderHit ( |
||
hit | ||
Результат | void |
public SuperJump ( float height, Vector3 jumpVelocity ) : void | ||
height | float | |
jumpVelocity | Vector3 | |
Результат | void |
public UpdateSmoothedMovementDirection ( ) : void | ||
Результат | void |