MainMenue weiterbearbeitet und Shop angelegt

This commit is contained in:
2026-01-21 13:09:50 +01:00
parent 58eed85324
commit 4c5de64949
251 changed files with 7086 additions and 5178 deletions

View File

@@ -0,0 +1,34 @@
using UnityEngine;
public class InventoryScript : MonoBehaviour
{
//Energy
[SerializeField] int energy = 10;
public InventoryScript(int energy)
{
this.energy = energy;
}
public int Energy { get => energy; set => energy = value; }
//Health
[SerializeField] int health = 1;
public int Health { get => health; set => health = value; }
//Gems
[SerializeField] int gems;
public int Gems { get => gems; set => gems = value; }
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}