Skip to content

Instantly share code, notes, and snippets.

@solkar
Created July 29, 2016 16:32
Show Gist options
  • Save solkar/b1449b9ce7246199eece01a8f4783190 to your computer and use it in GitHub Desktop.
Save solkar/b1449b9ce7246199eece01a8f4783190 to your computer and use it in GitHub Desktop.
Add a command to Unity Editor to wipe out PlayerPrefs
//
//
// DeletePlayerPrefs, created by Karlos Zafra
//
//
using UnityEngine;
using UnityEditor;
public class DeletePlayerPrefs
{
[MenuItem("Tools/Delete PlayerPrefs")]
public static void DeletePrefs()
{
PlayerPrefs.DeleteAll();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment