Skip to content
Snippets Groups Projects
Commit 954b9e18 authored by althaafka's avatar althaafka
Browse files

feat: cheat motherlode

parent 822624dc
Branches
Tags
No related merge requests found
...@@ -8,6 +8,7 @@ public class CheatManager : MonoBehaviour ...@@ -8,6 +8,7 @@ public class CheatManager : MonoBehaviour
public static CheatManager Instance; public static CheatManager Instance;
public PlayerHealth playerHealth; public PlayerHealth playerHealth;
public PlayerMovement playerMovement; public PlayerMovement playerMovement;
public PlayerBalance playerBalance;
public float notificationDuration = 2f; public float notificationDuration = 2f;
public TextMeshProUGUI cheatNotificationText; public TextMeshProUGUI cheatNotificationText;
...@@ -82,6 +83,7 @@ public class CheatManager : MonoBehaviour ...@@ -82,6 +83,7 @@ public class CheatManager : MonoBehaviour
void ActivateMotherlode() void ActivateMotherlode()
{ {
playerBalance.AddBalance(9999);
ShowNotification("Motherlode Activated!"); ShowNotification("Motherlode Activated!");
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment