Files
ConvenientHorror/Assets/Scripts/Player/InventoryScript.cs

41 lines
666 B
C#

using TMPro;
using UnityEngine;
public class InventoryScript : MonoBehaviour
{
[Header("Variables")]
//Energy
[SerializeField] int energy;
//Health
[SerializeField] int health;
//Gems
[SerializeField] int gems;
public InventoryScript(int energy, int health, int gems)
{
this.energy = energy;
this.health = health;
this.gems = gems;
}
public int Energy { get => energy; set => energy = value; }
public int Health { get => health; set => health = value; }
public int Gems { get => gems; set => gems = value; }
void Start()
{
}
void Update()
{
}
}