public void InsertItem(string id, string summary, string dialog) { InspectionItem item = Instantiate(ItemPrefab, Vector3.zero, Quaternion.identity, itemsRootTran); item.Init(id, summary, dialog); InspectionMgr.items.Add(item); }
public void InsertItem(string id, string summary, string dialog) { InspectionItem item = Instantiate(ItemPrefab, Vector3.zero, Quaternion.identity, itemsRootTran); item.Init(id, summary, dialog); InspectionMgr.items.Add(item); }