added cost amount to items

added Shop UI
added Shop.cs
 * you now can buy items and you lose the cost when bought
 * shop is scrollable

added comments in Inventory.cs, InventorySlot.cs, InventoryUI.cs
now showing description when hovering over items in shop or inventory
This commit is contained in:
d-hain 2022-06-02 00:08:37 +02:00
parent c9416181fc
commit ce1f6ed389
30 changed files with 4726 additions and 64 deletions

View file

@ -17,3 +17,4 @@ MonoBehaviour:
id: 0
selectedSprite: {fileID: 21300238, guid: 2700e06d970d112489ff23cfb58c3f78, type: 3}
defaultSprite: {fileID: 21300212, guid: 2700e06d970d112489ff23cfb58c3f78, type: 3}
cost: 50

View file

@ -17,3 +17,4 @@ MonoBehaviour:
id: 1
selectedSprite: {fileID: 21300234, guid: 2700e06d970d112489ff23cfb58c3f78, type: 3}
defaultSprite: {fileID: 21300208, guid: 2700e06d970d112489ff23cfb58c3f78, type: 3}
cost: 40

View file

@ -17,3 +17,4 @@ MonoBehaviour:
id: 2
selectedSprite: {fileID: 21300242, guid: 2700e06d970d112489ff23cfb58c3f78, type: 3}
defaultSprite: {fileID: 21300216, guid: 2700e06d970d112489ff23cfb58c3f78, type: 3}
cost: 20

View file

@ -12,8 +12,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 761f645f009328845bc7851753024e92, type: 3}
m_Name: WheatSeed
m_EditorClassIdentifier:
displayName:
description:
id: 0
selectedSprite: {fileID: 0}
defaultSprite: {fileID: 0}
displayName: Wheat Seeds
description: sheeeeeeeeeeeesh
id: 3
selectedSprite: {fileID: 21300182, guid: 2700e06d970d112489ff23cfb58c3f78, type: 3}
defaultSprite: {fileID: 21300156, guid: 2700e06d970d112489ff23cfb58c3f78, type: 3}
cost: 69