Свойство | Тип | Описание | |
---|---|---|---|
brickDamage | int | ||
brickHP | int | ||
brickImage1 | Sprite | ||
brickImage2 | Sprite | ||
brickImage3 | Sprite | ||
brickImage4 | Sprite |
Метод | Описание | |
---|---|---|
DrawBrick ( ) : void | ||
OnCollisionEnter2D ( Collision2D other ) : void | ||
OnTriggerEnter2D ( |
||
SetInactive ( ) : void | ||
Start ( ) : void | ||
TakeDamage ( ) : void | ||
Update ( ) : void |
public OnCollisionEnter2D ( Collision2D other ) : void | ||
other | Collision2D | |
Результат | void |
public OnTriggerEnter2D ( |
||
other | ||
Результат | void |