From 954b9e18c1de8d79e3877de494ef24da784b6887 Mon Sep 17 00:00:00 2001 From: althaafka <althaafka004@gmail.com> Date: Sat, 11 May 2024 15:14:58 +0700 Subject: [PATCH] feat: cheat motherlode --- Assets/Scripts/Cheat/CheatManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Scripts/Cheat/CheatManager.cs b/Assets/Scripts/Cheat/CheatManager.cs index 2654dce2..73aa557f 100644 --- a/Assets/Scripts/Cheat/CheatManager.cs +++ b/Assets/Scripts/Cheat/CheatManager.cs @@ -8,6 +8,7 @@ public class CheatManager : MonoBehaviour public static CheatManager Instance; public PlayerHealth playerHealth; public PlayerMovement playerMovement; + public PlayerBalance playerBalance; public float notificationDuration = 2f; public TextMeshProUGUI cheatNotificationText; @@ -82,6 +83,7 @@ public class CheatManager : MonoBehaviour void ActivateMotherlode() { + playerBalance.AddBalance(9999); ShowNotification("Motherlode Activated!"); } -- GitLab