您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

19 行
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. }