Make creation of cheats in Unity easier.
Go in Project Settings > Cheats.
Window dropdown > CheatsEditor Tick or untick Cheats.
CheatsManager.GetBool("myCheatKey");
CheatsManager.SetBool("myCheatKey", true);
void OnEnable()
{
CheatsManager.OnCheatChanged += CheatsManager_OnCheatUpdated;
}
void CheatsManager_OnCheatUpdated(string key, CheatType)
{
// Extra work...
}
- Theo Farnole - My Portfolio
This project is licensed under the MIT License - see the LICENSE.md file for details