C# Class baseCharacter, UrsaMajor

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

Public Properties

Property Type Description
currentHealth int

Protected Properties

Property Type Description
characterAnimator Animator
ground IsGrounded,
jumpState JumpStates
rb UnityEngine.Rigidbody2D

Public Methods

Method Description
Flip ( float moveH ) : void
HitToIdle ( ) : void
Hurt ( int damage, GameObject dmgObj ) : void
IsGrounded ( ) : bool

Protected Methods

Method Description
Death ( ) : void
FixedUpdate ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

Death() protected method

protected Death ( ) : void
return void

FixedUpdate() protected method

protected FixedUpdate ( ) : void
return void

Flip() public method

public Flip ( float moveH ) : void
moveH float
return void

HitToIdle() public method

public HitToIdle ( ) : void
return void

Hurt() public method

public Hurt ( int damage, GameObject dmgObj ) : void
damage int
dmgObj GameObject
return void

IsGrounded() public method

public IsGrounded ( ) : bool
return bool

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

Property Details

characterAnimator protected property

protected Animator characterAnimator
return Animator

currentHealth public property

public int currentHealth
return int

ground protected property

protected IsGrounded, ground
return IsGrounded,

jumpState protected property

protected JumpStates jumpState
return JumpStates

rb protected property

protected Rigidbody2D,UnityEngine rb
return UnityEngine.Rigidbody2D