Property | Type | Description | |
---|---|---|---|
alvo | GameObject | ||
freqTiro | float | ||
pontos | int | ||
prefabBala | GameObject | ||
raio | float | ||
velTiro | float |
Method | Description | |
---|---|---|
LateUpdate ( ) : void | ||
OnCollisionEnter2D ( ) : void | ||
OnCollisionEnter2D ( Collision2D colisao ) : void | ||
Update ( ) : void |
public OnCollisionEnter2D ( Collision2D colisao ) : void | ||
colisao | Collision2D | |
return | void |