If I attach the TrafficSystem script to a prefab, it will basicly re-Instantiate that object, therefor losing segments and intersections saved during edit. The solution is simply not using a prefab, but I feel as you could set a fallback if he doesn't find any segments, to check his child objects for them :D
If I attach the TrafficSystem script to a prefab, it will basicly re-Instantiate that object, therefor losing segments and intersections saved during edit. The solution is simply not using a prefab, but I feel as you could set a fallback if he doesn't find any segments, to check his child objects for them :D