Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
DamageTaking
C# Class DamageTaking, MobileGameDevWithUnity1stEd
Inheritance:
MonoBehaviour
Show file
Open project: thesecretlab/MobileGameDevWithUnity1stEd
Class Usage Examples
Public Properties
Property
Type
Description
destructionPrefab
GameObject
gameOverOnDestroyed
bool
hitPoints
int
Public Methods
Method
Description
TakeDamage
(
int
amount
) :
void
Method Details
TakeDamage()
public
method
public
TakeDamage
(
int
amount
) :
void
amount
int
return
void
Property Details
destructionPrefab
public property
public
GameObject
destructionPrefab
return
GameObject
gameOverOnDestroyed
public property
public
bool
gameOverOnDestroyed
return
bool
hitPoints
public property
public
int
hitPoints
return
int