Created
July 29, 2016 16:32
-
-
Save solkar/b1449b9ce7246199eece01a8f4783190 to your computer and use it in GitHub Desktop.
Add a command to Unity Editor to wipe out PlayerPrefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // | |
| // 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