Méthode | Description | |
---|---|---|
OnCollisionEnter ( Collision col ) : void |
Check for collision with a target.
|
|
OnCollisionExit ( Collision other ) : void |
Check for end of ground collision and reset flag appropriately.
|
public OnCollisionEnter ( Collision col ) : void | ||
col | Collision | |
Résultat | void |
public OnCollisionExit ( Collision other ) : void | ||
other | Collision | |
Résultat | void |