C# Class playerCharacter, UrsaMajor

Inheritance: MonoBehaviour
Mostrar archivo Open project: BJarv/UrsaMajor Class Usage Examples

Public Properties

Property Type Description
alreadyDying bool
deathDelay float
heart1 GameObject
heart2 GameObject
heart3 GameObject
invincibilityCooldown float
playerDead bool
playerHealth float
plusJumpForce float

Public Methods

Method Description
Hurt ( int damage, GameObject dmgObj ) : void
StartDeath ( ) : void

Protected Methods

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

Private Methods

Method Description
AdjustHealthUI ( float health ) : void
DisplayGameOverScreen ( ) : void
invincibiltyReset ( ) : void

Method Details

FixedUpdate() protected method

protected FixedUpdate ( ) : void
return void

Hurt() public method

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

Start() protected method

protected Start ( ) : void
return void

StartDeath() public method

public StartDeath ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

Property Details

alreadyDying public_oe static_oe property

public static bool alreadyDying
return bool

deathDelay public_oe property

public float deathDelay
return float

heart1 public_oe property

public GameObject heart1
return GameObject

heart2 public_oe property

public GameObject heart2
return GameObject

heart3 public_oe property

public GameObject heart3
return GameObject

invincibilityCooldown public_oe property

public float invincibilityCooldown
return float

playerDead public_oe static_oe property

public static bool playerDead
return bool

playerHealth public_oe static_oe property

public static float playerHealth
return float

plusJumpForce public_oe property

public float plusJumpForce
return float