Свойство | Type | Description | |
---|---|---|---|
alvo | GameObject | ||
freqTiro | float | ||
pontos | int | ||
prefabBala | GameObject | ||
raio | float | ||
velTiro | float |
Méthode | Description | |
---|---|---|
LateUpdate ( ) : void | ||
OnCollisionEnter2D ( ) : void | ||
OnCollisionEnter2D ( Collision2D colisao ) : void | ||
Update ( ) : void |
public OnCollisionEnter2D ( Collision2D colisao ) : void | ||
colisao | Collision2D | |
Résultat | void |