Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- 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! ***");
- }
- }
-
-
- }
|