unity,standalone下自定义分辨率不起作用的解法

写一个Editor脚本
AddMenu.cs:
using UnityEditor; using UnityEngine; public class AddMenu : EditorWindow { [MenuItem("Edit/(Custom)Reset Playerprefs")] public static void DeletePlayerPrefs() { PlayerPrefs.DeleteAll(); } }
然后去菜单中找(Custom)Reset Playerprefs菜单项,点击把PlayerPrefs清一下。
然后再按下面设置分辨率就可以了:

 参考:http://answers.unity3d.com/questions/516517/why-doesnt-standalone-build-resolution-settings-af.html

posted on 2016-07-10 18:55  wantnon  阅读(814)  评论(0编辑  收藏  举报

导航