using System.Collections; using System.Collections.Generic; using UnityEngine; public class DrawingPanel : MonoBehaviour { [SerializeField] private List DrawingItems; // Start is called before the first frame update public void Reset() { var drawData = JsonTab.Instance.tables.Weapon.DataList; for (int i = 0; i < DrawingItems.Count; i++) { DrawingItems[i].InitData(drawData[i].ID); } } }