예제 #1
0
    public void ResolutionChoose(bool right)
    {
        PlayerPreference.ResolutionIndex += right? 1: -1;
        Vector2Int _resolution = PlayerPreference.Resolution;

        resolutionText.text = string.Format("{0} x {1}", _resolution.x, _resolution.y);
        PlayerPreference.ApplyResolution();
    }
예제 #2
0
 public void ToggleFullscreenWindowed()
 {
     PlayerPreference.Fullscreen = !PlayerPreference.Fullscreen;
     fullscreenMultiLan.ChangeId(PlayerPreference.Fullscreen ? 8 : 9);
     PlayerPreference.ApplyResolution();
 }