void Awake() { if (instance == null) { instance = this; } }
void DropItems(List <ItemData> dropItems) { foreach (ItemData dropItem in dropItems) { gameItemDrop.DropItemIntoWorld(dropItem, dropTransform.position, ItemPrefabInitilizer.GetPrefabToInstantiate(dropItem), IsDropSingleAmount); } }
void Awake() { if (instance == null) { instance = this; } }
void Awake() { if (prefabInit == null) { prefabInit = this.GetComponent <ItemPrefabInitilizer>(); } }
void Awake() { if (prefabInit == null) { prefabInit = this.GetComponent<ItemPrefabInitilizer>(); } }