I want to try running my project at different window sizes to see how it affects CPU usage / framerate.
Is it possible to use Screen.SetResolution within the IDE preview (Play/⌘+P) to resize? The window does not resize no matter what settings I choose (eg standalone, free aspect). However Screen.SetResolution works fine when the project is built and run.
Also, can you detect when the project is running in preview vs desktop?