That last one must have to do with retina resolution and Unity, as turning off retina support keeps the icons the same size regardless of the mode being full screen or windowed. But all of this seems like a bandaid on the actual problem, as the image of the hotspot that is not controlled by any code is just perfect. No scaling issues on any platform, only the hotspots that are position controlled by the custom script are not scaled correct.
Comments
constant pixel size has all the icons the same size, but they are absolutely massive when playing in full screen in comparison to windowed mode.
That last one must have to do with retina resolution and Unity, as turning off retina support keeps the icons the same size regardless of the mode being full screen or windowed. But all of this seems like a bandaid on the actual problem, as the image of the hotspot that is not controlled by any code is just perfect. No scaling issues on any platform, only the hotspots that are position controlled by the custom script are not scaled correct.
..
forcing the scale of the hotspot to 1.0f,1.0f in the lateUpdate might have solved the issue. Testing more.
Yep the hotspots are now correctly scaled on all devices, including the Steam Deck! making the game perfectly playable on that device! Good stuff!
Glad to hear it, thanks for the update.