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.
|
- using UnityEngine;
- using UnityEditor;
- using System.Collections;
-
- namespace SgLib
- {
- public class EditorTools
- {
- [MenuItem("Tools/Reset PlayerPrefs", false)]
- public static void ResetPlayerPref()
- {
- PlayerPrefs.DeleteAll();
- Debug.Log("*** PlayerPrefs was reset! ***");
- }
- }
-
-
- }
|