If you know C# basics, you will understand it.
In offline games, I basically looking for reward function and found codes that adds value into player data
And re-use the codes into mod menu with buttons to add values
Other similar codes from other games (I don’t tell what game) that adds coins and gems:
Here are the codes:
Gitlab: Unity/WK_RS · master · iAndroHacker / Hack_Source_Center · GitLab
Github: AndnixSH/Hack_Source_Center
In offline games, I basically looking for reward function and found codes that adds value into player data
And re-use the codes into mod menu with buttons to add values
Other similar codes from other games (I don’t tell what game) that adds coins and gems:
C#:
int num = TPlayerPrefs.GetEncryptGold((int)DHGlobal.g_CurrentPlayerIndex);
num += 20000;
TPlayerPrefs.SetEncryptGold((int)DHGlobal.g_CurrentPlayerIndex, num);
C#:
TPlayerPrefs.SetEncryptGem(TPlayerPrefs.GetEncryptGem() + 200);
Gitlab: Unity/WK_RS · master · iAndroHacker / Hack_Source_Center · GitLab
Github: AndnixSH/Hack_Source_Center