Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
PlayerHealth
C# Class PlayerHealth, VampKid3D
Inheritance:
MonoBehaviour
显示文件
Open project: adamtuliper/VampKid3D
Class Usage Examples
Public Properties
Property
Type
Description
deathClip
AudioClip
resetAfterDeathTime
float
Public Methods
Method
Description
Awake
( ) :
void
Die
( ) :
void
LevelReset
( ) :
void
PlayerDead
( ) :
void
TakeDamage
(
float
amount
) :
void
Update
( ) :
void
Method Details
Awake()
public
method
public
Awake
( ) :
void
return
void
Die()
public
method
public
Die
( ) :
void
return
void
LevelReset()
public
method
public
LevelReset
( ) :
void
return
void
PlayerDead()
public
method
public
PlayerDead
( ) :
void
return
void
TakeDamage()
public
method
public
TakeDamage
(
float
amount
) :
void
amount
float
return
void
Update()
public
method
public
Update
( ) :
void
return
void
Property Details
deathClip
public_oe property
public
AudioClip
deathClip
return
AudioClip
resetAfterDeathTime
public_oe property
public
float
resetAfterDeathTime
return
float