Created
April 20, 2015 20:39
-
-
Save unitycoder/3373066f24c2958b17a5 to your computer and use it in GitHub Desktop.
Reset Build Resolution Settings in Editor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using UnityEditor; | |
public class ClearPrefs : MonoBehaviour { | |
// otherwise adjusting player settings resolution wont do anything.. | |
// http://answers.unity3d.com/questions/516517/why-doesnt-standalone-build-resolution-settings-af.html | |
[MenuItem("Edit/Reset Playerprefs")] | |
public static void DeletePlayerPrefs() { PlayerPrefs.DeleteAll(); } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment