HUD Arbeiten begonnen, ChangeHealthScript neu erstellt, neue und alte Methoden eingebaut

This commit is contained in:
2026-02-09 11:37:52 +01:00
parent f10a0ec485
commit 42b50afc95
5 changed files with 1083 additions and 2 deletions

View File

@@ -1,7 +1,11 @@
using TMPro;
using UnityEngine;
public class InventoryScript : MonoBehaviour
{
[Header("Variables")]
//Energy
[SerializeField] int energy = 10;
@@ -23,6 +27,7 @@ public class InventoryScript : MonoBehaviour
public int Health { get => health; set => health = value; }
public int Gems { get => gems; set => gems = value; }
void Start()
{