using System.Collections; using System.Collections.Generic; using UnityEngine; namespace TrafficSimulation{ public class CarHandler : MonoBehaviour { public TrafficSystem trafficSystem; [Header("Player Settings")] public GameObject Bike; [Tooltip("Radius around the player to spawn cars")] [Range(5,30)] public int actionRadius; [Header("Car Settings")] [Range(1,10)] public int trafficDensity; [Tooltip("You can define presets for intersections to trigger, if the player is reaching the Intersection")] public List intersectionPresets; [Tooltip("List of cars to spawn")] public List carPrefabs; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } } }