C# Class baseCharacter, UrsaMajor

Inheritance: MonoBehaviour
Afficher le fichier Open project: BJarv/UrsaMajor Class Usage Examples

Méthodes publiques

Свойство Type Description
currentHealth int

Protected Properties

Свойство Type Description
characterAnimator Animator
ground IsGrounded,
jumpState JumpStates
rb UnityEngine.Rigidbody2D

Méthodes publiques

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

Méthodes protégées

Méthode Description
Death ( ) : void
FixedUpdate ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

Death() protected méthode

protected Death ( ) : void
Résultat void

FixedUpdate() protected méthode

protected FixedUpdate ( ) : void
Résultat void

Flip() public méthode

public Flip ( float moveH ) : void
moveH float
Résultat void

HitToIdle() public méthode

public HitToIdle ( ) : void
Résultat void

Hurt() public méthode

public Hurt ( int damage, GameObject dmgObj ) : void
damage int
dmgObj GameObject
Résultat void

IsGrounded() public méthode

public IsGrounded ( ) : bool
Résultat bool

Start() protected méthode

protected Start ( ) : void
Résultat void

Update() protected méthode

protected Update ( ) : void
Résultat void

Property Details

characterAnimator protected_oe property

protected Animator characterAnimator
Résultat Animator

currentHealth public_oe property

public int currentHealth
Résultat int

ground protected_oe property

protected IsGrounded, ground
Résultat IsGrounded,

jumpState protected_oe property

protected JumpStates jumpState
Résultat JumpStates

rb protected_oe property

protected Rigidbody2D,UnityEngine rb
Résultat UnityEngine.Rigidbody2D