You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
361 B

  1. using UnityEngine;
  2. using UnityEditor;
  3. using System.Collections;
  4. namespace SgLib
  5. {
  6. public class EditorTools
  7. {
  8. [MenuItem("Tools/Reset PlayerPrefs", false)]
  9. public static void ResetPlayerPref()
  10. {
  11. PlayerPrefs.DeleteAll();
  12. Debug.Log("*** PlayerPrefs was reset! ***");
  13. }
  14. }
  15. }