PlayerPrefsCleaner.cs 310 B

123456789101112131415
  1. using UnityEditor;
  2. using UnityEngine;
  3. namespace Plugins.CxShine.Editor
  4. {
  5. public class PlayerPrefsCleaner : EditorWindow
  6. {
  7. [MenuItem("Tools/PlayerPrefs/一键清除所有数据")]
  8. public static void InitTmpFont()
  9. {
  10. PlayerPrefs.DeleteAll();
  11. }
  12. }
  13. }