Example #1
0
 // hit something methods
 void HitObstacle(ObstacleController obstacle)
 {
     obstacle.TakeDamage(damage);
     Destroy();
 }