Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Fat Pug Studio on February 18, 2019, 02:42:16 AM
-
Hi guys,
when i fire up the game, i get the screen height and width and save it into vector3 as a current resolution variable, which is then set as a string that will show up in the video menu when i go into it. Now, i've got a vector3 arraylist of resolutions, how can i iterate through the array by using the current resolution as an index that will be used as a pointer to get next or previous resolution from the array?
-
Ah, i got it. I get the current resolution, compare it with resolution from the array, get the index and then get next/previous from that index.