13 lines
266 B
C#
13 lines
266 B
C#
using UnityEngine;
|
|
using UnityEditor;
|
|
|
|
public class PlayerPrefsEditor : EditorWindow
|
|
{
|
|
[MenuItem("RiftMayhem/Clear PlayerPrefs")]
|
|
public static void ClearPlayerPrefs()
|
|
{
|
|
PlayerPrefs.DeleteAll();
|
|
Debug.Log("PlayerPrefs cleared.");
|
|
}
|
|
}
|