Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

targetFrameRate & vSync for iOS

$
0
0
Heya folks.. I was wondering, does Application.targetFrameRate, works on iOS? In the docs it says: > If vsync is set in quality setting,> the target framerate is ignored, and> the vblank interval is used instead.> The vBlankCount property on> qualitysettings can be used to limit> the framerate to half of the screens> refresh rate (60 fps screen can be> limited to 30 fps by setting> vBlankCount to 2) And in the Unity Answers i read, that vsync is allways ON, for iOS and cannot be turned off.... The interesting thing is if i turn it Off and set targetFrameRate to 30, the game runs on exactly 30FPS (Where it was running with 50FPS, before that). SO what's right and what's wrong? Can i turn Off vSync for iOS? If no, then this means that targetFrameRate is useless? If so, how can i tell the game to run at specific frame rate? That was the first question. Shoud i limit the FPS, by setting the VSync Count to "Every Second VBlank" ? Second one: My game runs on iPad4, iPhone5 with 50, 60 FPS, and on iPad Mini, iPod touch with 30, 45 FPS. Shoud i limit the game to 30FPS, or i shoud leave it to decide by it's own, on what FPS to run. Apparently the Unity engine is doing some stuff behind, cuz if i don't limit it the game runs pretty well... thanks

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>