C# Class Assets.Scripts.People.HealthBehavior

Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: EricFreeman/DungeonGame Class Usage Examples

Public Properties

Property Type Description
Health int

Public Methods

Method Description
OnTriggerEnter ( Collider col ) : void
Start ( ) : void
TakeDamage ( HitContext context ) : void

Private Methods

Method Description
ShouldCollideWith ( Bullet bullet ) : bool

Method Details

OnTriggerEnter() public method

public OnTriggerEnter ( Collider col ) : void
col UnityEngine.Collider
return void

Start() public method

public Start ( ) : void
return void

TakeDamage() public method

public TakeDamage ( HitContext context ) : void
context HitContext
return void

Property Details

Health public_oe property

public int Health
return int