C# Class CharControl, UrsaMajor

Inheritance: MonoBehaviour
Show file Open project: BJarv/UrsaMajor Class Usage Examples

Public Properties

Property Type Description
CurrJumpForce float
MaxJumpForce float
PlusJumpForce float
addSpeed float
controllable bool
dead bool
horizDirection int
maxSpeed float
whatIsGround LayerMask
whatIsWall LayerMask

Public Methods

Method Description
StartDeath ( ) : void
hitAnim ( ) : void
isGrounded ( ) : bool
setDead ( ) : void
skinChange ( Sprite skin ) : void

Private Methods

Method Description
FixedUpdate ( ) : void
Flip ( float moveH ) : void
Start ( ) : void
Update ( ) : void
hitToIdle ( ) : void

Method Details

StartDeath() public method

public StartDeath ( ) : void
return void

hitAnim() public method

public hitAnim ( ) : void
return void

isGrounded() public method

public isGrounded ( ) : bool
return bool

setDead() public method

public setDead ( ) : void
return void

skinChange() public method

public skinChange ( Sprite skin ) : void
skin Sprite
return void

Property Details

CurrJumpForce public property

public float CurrJumpForce
return float

MaxJumpForce public property

public float MaxJumpForce
return float

PlusJumpForce public property

public float PlusJumpForce
return float

addSpeed public property

public float addSpeed
return float

controllable public property

public bool controllable
return bool

dead public static property

public static bool dead
return bool

horizDirection public property

public int horizDirection
return int

maxSpeed public property

public float maxSpeed
return float

whatIsGround public property

public LayerMask whatIsGround
return LayerMask

whatIsWall public property

public LayerMask whatIsWall
return LayerMask