C# Class baseCharacter, UrsaMajor

Inheritance: MonoBehaviour
Exibir arquivo 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_oe property

protected Animator characterAnimator
return Animator

currentHealth public_oe property

public int currentHealth
return int

ground protected_oe property

protected IsGrounded, ground
return IsGrounded,

jumpState protected_oe property

protected JumpStates jumpState
return JumpStates

rb protected_oe property

protected Rigidbody2D,UnityEngine rb
return UnityEngine.Rigidbody2D