|
|
|
@ -1,4 +1,5 @@ |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Collections.Generic; |
|
|
|
|
|
|
|
using Sirenix.OdinInspector; |
|
|
|
using UnityEngine; |
|
|
|
using UnityEngine; |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
@ -25,6 +26,7 @@ public class TrafficLane : MonoBehaviour |
|
|
|
|
|
|
|
|
|
|
|
[Header("Vehicle Pool")] |
|
|
|
[Header("Vehicle Pool")] |
|
|
|
[Tooltip("Prefabs to randomly draw from when spawning. Can contain different vehicle types.")] |
|
|
|
[Tooltip("Prefabs to randomly draw from when spawning. Can contain different vehicle types.")] |
|
|
|
|
|
|
|
[ListDrawerSettings(ShowFoldout = false)] |
|
|
|
public GameObject[] vehiclePrefabs; |
|
|
|
public GameObject[] vehiclePrefabs; |
|
|
|
|
|
|
|
|
|
|
|
[Tooltip("Total number of vehicle instances kept alive at once.")] |
|
|
|
[Tooltip("Total number of vehicle instances kept alive at once.")] |
|
|
|
|