C# Class CharacterControllerLogic, UnityThirdPersonTutorial

#DESCRIPTION OF CLASS#
Inheritance: MonoBehaviour
显示文件 Open project: jm991/UnityThirdPersonTutorial Class Usage Examples

Public Methods

Method Description
IsInIdleJump ( ) : bool
IsInJump ( ) : bool
IsInLocomotion ( ) : bool
IsInLocomotionJump ( ) : bool
IsInPivot ( ) : bool
StickToWorldspace ( Transform root, Transform camera, float &directionOut, float &speedOut, float &angleOut, bool isPivoting ) : void

Private Methods

Method Description
FixedUpdate ( ) : void

Any code that moves the character needs to be checked against physics

OnDrawGizmos ( ) : void

Debugging information should be put here.

Start ( ) : void

Use this for initialization.

Update ( ) : void

Update is called once per frame.

Method Details

IsInIdleJump() public method

public IsInIdleJump ( ) : bool
return bool

IsInJump() public method

public IsInJump ( ) : bool
return bool

IsInLocomotion() public method

public IsInLocomotion ( ) : bool
return bool

IsInLocomotionJump() public method

public IsInLocomotionJump ( ) : bool
return bool

IsInPivot() public method

public IsInPivot ( ) : bool
return bool

StickToWorldspace() public method

public StickToWorldspace ( Transform root, Transform camera, float &directionOut, float &speedOut, float &angleOut, bool isPivoting ) : void
root Transform
camera Transform
directionOut float
speedOut float
angleOut float
isPivoting bool
return void