Property | Type | Description | |
---|---|---|---|
damage | int | ||
direction | Vector2 | ||
hit | bool | ||
speed | Vector2 |
Method | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
OnCollisionEnter2D ( Collision2D other ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
public OnCollisionEnter2D ( Collision2D other ) : void | ||
other | Collision2D | |
return | void |