- Home /
Question by
IceEnry__lol · Apr 13, 2017 at 12:52 PM ·
resolutionscreensettingsresolution dialog
Max screen resolution and delete the ones that are higher?
Hi I have created a dropdown in my options menu with a function that changes the game window resolution. For now I have set 4 res. 1280p, 1366p, 1600p, and full hd. The question is if I have only a 1336p. screen res. (how can i find this information? Screen.currentResolution? that way can I find it? ) and how can I delete in this case the 2 voices in the dropdown that have a higher resolution than the max res. of the screen? Thanks
Comment
Answer by FortisVenaliter · Apr 13, 2017 at 04:10 PM
The Display class has the variables you need exposed.
ah sorry I haven't seen it, thanks, so now i have only to delete dropdown resolution voices that are bigger