Shop weitergebaut, CreditsScene angepasst, MainMenue weiter verschönert, an Monetarisierung gearbeitet
This commit is contained in:
@@ -2,9 +2,12 @@ using UnityEngine;
|
||||
|
||||
public class InventoryScript : MonoBehaviour
|
||||
{
|
||||
|
||||
public static int deineMudda = 2;
|
||||
static int deinVadda = 0;
|
||||
|
||||
//Energy
|
||||
[SerializeField] int energy = 10;
|
||||
|
||||
public InventoryScript(int energy)
|
||||
{
|
||||
this.energy = energy;
|
||||
@@ -15,7 +18,7 @@ public class InventoryScript : MonoBehaviour
|
||||
//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; }
|
||||
@@ -23,7 +26,7 @@ public class InventoryScript : MonoBehaviour
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
|
||||
Gems = 10;
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
|
||||
Reference in New Issue
Block a user