From a81533f4e729c4fd08e361f423c6095224a844c6 Mon Sep 17 00:00:00 2001 From: uc-hoba Date: Wed, 3 Jun 2026 15:47:14 +0800 Subject: [PATCH] style(TrafficLane): add Odin attribute to vehiclePrefabs list --- Assets/Scripts/Traffic/TrafficLane.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Scripts/Traffic/TrafficLane.cs b/Assets/Scripts/Traffic/TrafficLane.cs index 82df533..efe6b05 100644 --- a/Assets/Scripts/Traffic/TrafficLane.cs +++ b/Assets/Scripts/Traffic/TrafficLane.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using Sirenix.OdinInspector; using UnityEngine; /// @@ -25,6 +26,7 @@ public class TrafficLane : MonoBehaviour [Header("Vehicle Pool")] [Tooltip("Prefabs to randomly draw from when spawning. Can contain different vehicle types.")] + [ListDrawerSettings(ShowFoldout = false)] public GameObject[] vehiclePrefabs; [Tooltip("Total number of vehicle instances kept alive at once.")]