It looks like you're new here. If you want to get involved, click one of these buttons!
The following lines of code are having this error: [error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement]
Does anyone know why?
ResItem newRes = new ResItem();
newRes.horizontal == Screen.width;
newRes.vertical == Screen.height;
selectedResolution = resolutions.Count - 1;