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