Свойство | Тип | Описание | |
---|---|---|---|
canControl | bool | ||
jumping | CharacterMotorJumping, | ||
movement | CharacterMotorMovement, | ||
movingPlatform | CharacterMotorMovingPlatform, | ||
sliding | CharacterMotorSliding, | ||
useFixedUpdate | bool |
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
FixedUpdate ( ) : void | ||
OnControllerColliderHit ( |
||
SetControllable ( bool controllable ) : void | ||
SetVelocity ( Vector3 velocity ) : void | ||
Update ( ) : void | ||
UpdateFunction ( ) : void |
Метод | Описание | |
---|---|---|
AdjustGroundVelocityToNormal ( Vector3 hVelocity, Vector3 groundNormal ) : Vector3 | ||
ApplyGravityAndJumping ( Vector3 velocity ) : Vector3 | ||
ApplyInputVelocityChange ( Vector3 velocity ) : Vector3 | ||
CalculateJumpVerticalSpeed ( float targetJumpHeight ) : float | ||
GetDesiredHorizontalVelocity ( ) : Vector3 | ||
GetDirection ( ) : Vector3 | ||
GetMaxAcceleration ( bool grounded ) : float | ||
IsGrounded ( ) : bool | ||
IsGroundedTest ( ) : bool | ||
IsJumping ( ) : bool | ||
IsSliding ( ) : bool | ||
IsTouchingCeiling ( ) : bool | ||
MaxSpeedInDirection ( Vector3 desiredMovementDirection ) : double | ||
MoveWithPlatform ( ) : bool | ||
SubtractNewPlatformVelocity ( ) : IEnumerator | ||
TooSteep ( ) : bool |
public OnControllerColliderHit ( |
||
hit | ||
Результат | void |
public SetControllable ( bool controllable ) : void | ||
controllable | bool | |
Результат | void |
public SetVelocity ( Vector3 velocity ) : void | ||
velocity | Vector3 | |
Результат | void |
public CharacterMotorMovement, movement | ||
Результат | CharacterMotorMovement, |
public CharacterMotorMovingPlatform, movingPlatform | ||
Результат | CharacterMotorMovingPlatform, |