C# Class CharacterMotorC, UnderworldExporter

Inheritance: MonoBehaviour
Afficher le fichier Open project: hankmorgan/UnderworldExporter Class Usage Examples

Méthodes publiques

Свойство Type Description
canControl bool
jumping CharacterMotorJumping,
movement CharacterMotorMovement,
movingPlatform CharacterMotorMovingPlatform,
sliding CharacterMotorSliding,
useFixedUpdate bool

Méthodes publiques

Méthode Description
Awake ( ) : void
FixedUpdate ( ) : void
OnControllerColliderHit ( ControllerColliderHit hit ) : void
SetControllable ( bool controllable ) : void
SetVelocity ( Vector3 velocity ) : void
Update ( ) : void
UpdateFunction ( ) : void

Private Methods

Méthode Description
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

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

FixedUpdate() public méthode

public FixedUpdate ( ) : void
Résultat void

OnControllerColliderHit() public méthode

public OnControllerColliderHit ( ControllerColliderHit hit ) : void
hit UnityEngine.ControllerColliderHit
Résultat void

SetControllable() public méthode

public SetControllable ( bool controllable ) : void
controllable bool
Résultat void

SetVelocity() public méthode

public SetVelocity ( Vector3 velocity ) : void
velocity Vector3
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateFunction() public méthode

public UpdateFunction ( ) : void
Résultat void

Property Details

canControl public_oe property

public bool canControl
Résultat bool

jumping public_oe property

public CharacterMotorJumping, jumping
Résultat CharacterMotorJumping,

movement public_oe property

public CharacterMotorMovement, movement
Résultat CharacterMotorMovement,

movingPlatform public_oe property

public CharacterMotorMovingPlatform, movingPlatform
Résultat CharacterMotorMovingPlatform,

sliding public_oe property

public CharacterMotorSliding, sliding
Résultat CharacterMotorSliding,

useFixedUpdate public_oe property

public bool useFixedUpdate
Résultat bool