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
Destroyable
C# Class Destroyable, pga_2D_shooter_side_scroller
Inheritance:
MonoBehaviour
Show file
Open project: Pajlot/pga_2D_shooter_side_scroller
Class Usage Examples
Public Properties
Property
Type
Description
life
int
playerStatus
Status,
sp
SpriteRenderer
Public Methods
Method
Description
OnCollisionEnter2D
(
Collision2D
coll
) :
void
Method Details
OnCollisionEnter2D()
public
method
public
OnCollisionEnter2D
(
Collision2D
coll
) :
void
coll
Collision2D
return
void
Property Details
life
public property
public
int
life
return
int
playerStatus
public property
public
Status,
playerStatus
return
Status,
sp
public property
public
SpriteRenderer
sp
return
SpriteRenderer