[๋ฏธํ•ด๊ฒฐ] ํŠน์ • ํ‚ค ๋ˆ„๋ฅผ๋•Œ ๋‹ค๋ฅธ ํ‚ค ์ž…๋ ฅ ๋ง‰๊ธฐ - ์ธ๋”” ๊ฒŒ์ž„ ๊ฐœ๋ฐœ ๊ฐค๋Ÿฌ๋ฆฌ (dcinside.com)

๊ฐ€์žฅ ์ตœ๊ทผ ์งˆ๋ฌธ๊ธ€์ž„
๋ฌผ๋ก  ์ €๊ฒƒ๋„ ์ดํ•ด๊ฐ€ ์ข€ ๊ฑธ๋ ค์„œ ์•„์ง ํ•ด๊ฒฐ๋กœ ์•ˆ๋ฐ”๊ฟˆ
----
์Šคํฌ๋กค ๋ฐ”๋กœ ํ•ด์ƒ๋„ ์กฐ์ ˆํ•˜๋Š” ๊ธฐ๋Šฅ์„ ๋งŒ๋“ค์—ˆ๋Š”๋ฐ ์Šคํฌ๋กค ๋ฐ” ์•ˆ์˜ ๋‚ด์šฉ์ด ๊ณ„์† ๋ฐ˜๋ณต๋ผ์„œ ๋‚˜์˜ด์ง  ์ฝ”๋“œ๋Š”public TMP_Dropdown resolutionDropDown;ย  ย  Resolution[] resolutions;ย  ย  void Start()ย  ย  {ย  ย  ย  ย  resolutions = Screen.resolutions;ย  ย  ย  ย  resolutionDropDown.ClearOptions();ย  ย  ย  ย  List<string> options = new List<string>();ย  ย  ย  ย  int curResolutionIndex = 0;ย  ย  ย  ย  for (int i = 0; i<resolutions.Length; i++)ย  ย  ย  ย  {ย  ย  ย  ย  ย  ย  string option = resolutions[i].width + "X" + resolutions[i].height;ย  ย  ย  ย  ย  ย  options.Add(option);
ย  ย  ย  ย  ย  ย  if(resolutions[i].width == Screen.currentResolution.width &&ย ย  ย  ย  ย  ย  ย  ย  ย resolutions[i].height == Screen.currentResolution.height)ย  ย  ย  ย  ย  ย  {ย  ย  ย  ย  ย  ย  ย  ย  curResolutionIndex = i;ย  ย  ย  ย  ย  ย  }ย  ย  ย  ย  }ย  ย  ย  ย  resolutionDropDown.AddOptions(options);ย  ย  ย  ย  resolutionDropDown.value = curResolutionIndex;ย  ย  ย  ย  resolutionDropDown.RefreshShownValue();
public void SetResolutions(int resolutionIndex)ย  ย  {ย  ย  ย  ย  Resolution resolution = resolutions[resolutionIndex];ย  ย  ย  ย  Screen.SetResolution(resolution.width, resolution.height, Screen.fullScreen) ;ย  ย  }
์ด๋ ‡๊ฒŒ ์งฐ๊ณ  ์—๋””ํ„ฐ์—์„œ ๋ณด๋ฉด ์ •์ƒ์ ์œผ๋กœ ํ•˜๋‚˜์”ฉ ๋…ธ์ถœ๋˜๋Š”๋ฐย ํŒŒ์ผ์„ ๋นŒ๋“œํ•ด์„œ ๋ณด๋ฉด ๊ฐ™์€ ๋ฉ”๋‰ด๊ฐ€ ๋ช‡๊ฐœ์”ฉ ์ค‘๋ณต๋จ640 * 480 ์ด ๋ง‰ 7๊ฐœ ์ •๋„ ์žˆ๊ณ 800 * 600์ด ๋ง‰ 3๊ฐœ ์ •๋„ ์žˆ๊ณ ย ์ด๋Ÿฐ์‹์œผ๋กœย 
์ด๊ฑธ ์—๋””ํ„ฐ์ฒ˜๋Ÿผ ํ•˜๋‚˜์”ฉ๋งŒ ๋ณด์ด๊ฒŒ ํ•˜๋ ค๋ฉด ๋ฌด์Šจ ์˜ต์„ ๊ฑด๋“œ๋ ค์•ผํ•จ?