/// <summary> /// Create new HiveGalleryItem based on HiveData /// </summary> /// <param name="hiveData">HiveData of the wanted HiveGalleryItem</param> private void CreateHiveGalleryItem(HiveData hiveData) { HiveGalleryItem newHive = Instantiate(hiveGalleryItemPrefab, hiveGalleryContainer); newHive.Setup(hiveData); galleryItems.Add(newHive); }