C# Class Implementators.Player.PlayerHealth

Inheritance: UnityEngine.MonoBehaviour, IHealthComponent, IDamageSoundComponent, IDamageEventComponent, IRemoveEntityComponent
显示文件 Open project: sebas77/Svelto-ECS-Example

Public Properties

Property Type Description
damageClip UnityEngine.AudioClip
deathClip UnityEngine.AudioClip
startingHealth int

Private Properties

Property Type Description

Public Methods

Method Description
Awake ( ) : void
RestartLevel ( ) : void

I decided to leave this one for compatibility, probably some ugly animation callback.

Method Details

Awake() public method

public Awake ( ) : void
return void

RestartLevel() public method

I decided to leave this one for compatibility, probably some ugly animation callback.
public RestartLevel ( ) : void
return void

Property Details

damageClip public_oe property

public AudioClip,UnityEngine damageClip
return UnityEngine.AudioClip

deathClip public_oe property

public AudioClip,UnityEngine deathClip
return UnityEngine.AudioClip

startingHealth public_oe property

public int startingHealth
return int