Gem cheating

This commit is contained in:
Sewmina
2022-04-07 03:31:22 +05:30
parent be666ef0d2
commit 41effa0279
2 changed files with 17 additions and 1 deletions

View File

@@ -41,6 +41,10 @@ public class ShopScript : MonoBehaviour
DBmanager.SetGems(DBmanager.Gems - gemCost);
}
public void CheatGems(){
DBmanager.SetGems(DBmanager.Gems + 1000);
}
public void openShop()
{
shopButtonName = EventSystem.current.currentSelectedGameObject.name;