Implemented loot GUI
This commit is contained in:
parent
1e95378bb1
commit
f2f6e8620a
43 changed files with 2135 additions and 20 deletions
|
|
@ -135,7 +135,7 @@ namespace DungeonGenerator
|
|||
|
||||
private void AddRewardsToRoomObject(GameObject roomGO, List<LootType> loot)
|
||||
{
|
||||
RoomRewards rewards = roomGO.AddComponent<RoomRewards>();
|
||||
RoomRewards rewards = roomGO.GetComponent<RoomRewards>();
|
||||
foreach (LootType type in loot)
|
||||
{
|
||||
switch (type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue