HUD Arbeiten begonnen, ChangeHealthScript neu erstellt, neue und alte Methoden eingebaut
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user