25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

19 satır
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. }