C# Class ThirdPersonController, unity-network-sample

Inheritance: MonoBehaviour
Afficher le fichier Open project: anchan828/unity-network-sample Class Usage Examples

Méthodes publiques

Свойство Type Description
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

Méthodes publiques

Méthode Description
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 ( ControllerColliderHit hit ) : void
Reset ( ) : void
SuperJump ( float height ) : void
SuperJump ( float height, Vector3 jumpVelocity ) : void
Update ( ) : void
UpdateSmoothedMovementDirection ( ) : void

Private Methods

Méthode Description
CalculateJumpVerticalSpeed ( float targetJumpHeight ) : float

Method Details

ApplyGravity() public méthode

public ApplyGravity ( ) : void
Résultat void

ApplyJumping() public méthode

public ApplyJumping ( ) : void
Résultat void

ApplyWallJump() public méthode

public ApplyWallJump ( ) : void
Résultat void

Awake() public méthode

public Awake ( ) : void
Résultat void

DidJump() public méthode

public DidJump ( ) : void
Résultat void

GetDirection() public méthode

public GetDirection ( ) : Vector3
Résultat Vector3

GetLean() public méthode

public GetLean ( ) : float
Résultat float

GetLockCameraTimer() public méthode

public GetLockCameraTimer ( ) : float
Résultat float

GetSpeed() public méthode

public GetSpeed ( ) : float
Résultat float

HasJumpReachedApex() public méthode

public HasJumpReachedApex ( ) : bool
Résultat bool

IsCapeFlying() public méthode

public IsCapeFlying ( ) : bool
Résultat bool

IsGrounded() public méthode

public IsGrounded ( ) : bool
Résultat bool

IsGroundedWithTimeout() public méthode

public IsGroundedWithTimeout ( ) : bool
Résultat bool

IsJumping() public méthode

public IsJumping ( ) : bool
Résultat bool

IsMovingBackwards() public méthode

public IsMovingBackwards ( ) : bool
Résultat bool

OnControllerColliderHit() public méthode

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

Reset() public méthode

public Reset ( ) : void
Résultat void

SuperJump() public méthode

public SuperJump ( float height ) : void
height float
Résultat void

SuperJump() public méthode

public SuperJump ( float height, Vector3 jumpVelocity ) : void
height float
jumpVelocity Vector3
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateSmoothedMovementDirection() public méthode

public UpdateSmoothedMovementDirection ( ) : void
Résultat void

Property Details

canCapeFly public_oe property

public bool canCapeFly
Résultat bool

canJump public_oe property

public bool canJump
Résultat bool

canWallJump public_oe property

public bool canWallJump
Résultat bool

capeFlyGravity public_oe property

public float capeFlyGravity
Résultat float

extraJumpHeight public_oe property

public float extraJumpHeight
Résultat float

getUserInput public_oe property

public bool getUserInput
Résultat bool

gravity public_oe property

public float gravity
Résultat float

horizontalInput public_oe property

public float horizontalInput
Résultat float

inAirControlAcceleration public_oe property

public float inAirControlAcceleration
Résultat float

isMoving public_oe property

public bool isMoving
Résultat bool

jumpButton public_oe property

public bool jumpButton
Résultat bool

jumpHeight public_oe property

public float jumpHeight
Résultat float

rotateSpeed public_oe property

public float rotateSpeed
Résultat float

runSpeed public_oe property

public float runSpeed
Résultat float

speedSmoothing public_oe property

public float speedSmoothing
Résultat float

trotAfterSeconds public_oe property

public float trotAfterSeconds
Résultat float

trotSpeed public_oe property

public float trotSpeed
Résultat float

verticalInput public_oe property

public float verticalInput
Résultat float

walkSpeed public_oe property

public float walkSpeed
Résultat float