C# Class Assets.Scripts.People.HealthBehavior

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: EricFreeman/DungeonGame Class Usage Examples

Méthodes publiques

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

Méthodes publiques

Méthode Description
OnTriggerEnter ( Collider col ) : void
Start ( ) : void
TakeDamage ( HitContext context ) : void

Private Methods

Méthode Description
ShouldCollideWith ( Bullet bullet ) : bool

Method Details

OnTriggerEnter() public méthode

public OnTriggerEnter ( Collider col ) : void
col UnityEngine.Collider
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

TakeDamage() public méthode

public TakeDamage ( HitContext context ) : void
context HitContext
Résultat void

Property Details

Health public_oe property

public int Health
Résultat int