Update Obstacle.cs

The obstacles are destroyed once they are off the camera view. This would not let the game slow down or fill up the memory.