Shop ist jetzt funktional in der MainMenueScene

This commit is contained in:
2026-02-03 11:38:36 +01:00
parent 20358f541a
commit 62d40f5467
3 changed files with 200 additions and 118 deletions

View File

@@ -9,7 +9,7 @@ public class InventoryScript : MonoBehaviour
[SerializeField] int health = 1;
//Gems
[SerializeField] int gems;
[SerializeField] int gems = 100;
public InventoryScript(int energy, int health, int gems)
@@ -25,7 +25,7 @@ public class InventoryScript : MonoBehaviour
void Start()
{
Gems = 10;
}
void Update()