using IngameDebugConsole; using UnityEngine; namespace Tuan.GameFramework { public class GameManager : Singleton { public GameObject Player; [ConsoleMethod("clear_prefs", "Clears all PlayerPrefs data")] public static void ClearPlayerPrefs() { PlayerPrefs.DeleteAll(); PlayerPrefs.Save(); Debug.Log("All PlayerPrefs have been cleared!"); } } }