private void Awake() { roadLooper = Object.FindObjectOfType <RoadLooper>(); obstaclePlacer = Object.FindObjectOfType <ObstaclePlacer>(); obstacleGenretor = new ObstacleGenretor(10, 10); }