/// <summary> /// Warning!!! SLOW AF!!! EDITOR ONLY!!! /// </summary> /// <returns></returns> static List <Item> GetAllItemPrefabsInProjectFolder() { //List<Item>; List <Item> items = AssetManagement.FindAssetsByComponent <Item>(); Debug.Log("Items: " + items.Count); List <Item> itemList = new List <Item>(); foreach (Item item in items) { itemList.Add(item); } return(itemList); }