Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

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