// Screen.SetResolution(int.Parse(Regex.Split(resolution, " x ")[0]), int.Parse(Regex.Split(resolution, " x ")[1]), FullScreenMode.ExclusiveFullScreen);
//else if (fullScreenMode == "2")
// Screen.SetResolution(int.Parse(Regex.Split(resolution, " x ")[0]), int.Parse(Regex.Split(resolution, " x ")[1]), FullScreenMode.Windowed);
//else
// Screen.SetResolution(int.Parse(Regex.Split(resolution, " x ")[0]), int.Parse(Regex.Split(resolution, " x ")[1]), FullScreenMode.FullScreenWindow);
#if UNITY_ANDROID
if(Config.Have("Resolution"))
resolution=Config.Get("Resolution","1920 x 1080");
Screen.SetResolution(int.Parse(Regex.Split(resolution," x ")[0]),int.Parse(Regex.Split(resolution," x ")[1]),FullScreenMode.FullScreenWindow);