C# Class CharacterMover, TheUnseen

Inheritance: MonoBehaviour
Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Свойство Type Description
PEG Animator
jumping CharacterMoverJumping
movement CharacterMoverMovement
movingPlatform CharacterMoverMovingPlatform
onlyPlayer LayerMask
sliding CharacterMoverSliding

Méthodes publiques

Méthode Description
ToggleCrouch ( ) : void

Private Methods

Méthode Description
AdjustGroundVelocityToNormal ( Vector3 hVelocity, Vector3 groundNormal ) : Vector3
ApplyGravityAndJumping ( Vector3 velocity ) : Vector3
ApplyInputVelocityChange ( Vector3 velocity ) : Vector3
Awake ( ) : void
CalculateJumpVerticalSpeed ( float targetJumpHeight ) : float
FixedUpdate ( ) : void
GetDesiredHorizontalVelocity ( ) : Vector3
GetDirection ( ) : Vector3
GetMaxAcceleration ( bool grounded ) : float
IsGrounded ( ) : bool
IsGroundedTest ( ) : bool
IsJumping ( ) : bool
IsSliding ( ) : bool
IsTouchingCeiling ( ) : bool
MaxSpeedInDirection ( Vector3 desiredMovementDirection ) : float
MoveWithPlatform ( ) : bool
OnControllerColliderHit ( ControllerColliderHit hit ) : void
SetControllable ( bool controllable ) : void
SetVelocity ( Vector3 velocity ) : void
SubtractNewPlatformVelocity ( ) : IEnumerator
TooSteep ( ) : bool
Update ( ) : void
UpdateFunction ( ) : void
canStand ( ) : bool

Method Details

ToggleCrouch() public méthode

public ToggleCrouch ( ) : void
Résultat void

Property Details

PEG public_oe property

public Animator PEG
Résultat Animator

jumping public_oe property

public CharacterMoverJumping jumping
Résultat CharacterMoverJumping

movement public_oe property

public CharacterMoverMovement movement
Résultat CharacterMoverMovement

movingPlatform public_oe property

public CharacterMoverMovingPlatform movingPlatform
Résultat CharacterMoverMovingPlatform

onlyPlayer public_oe property

public LayerMask onlyPlayer
Résultat LayerMask

sliding public_oe property

public CharacterMoverSliding sliding
Résultat CharacterMoverSliding