3
\$\begingroup\$

How can I switch between atlases (with different resolutions) in Unity based on the runtime iOS version?

\$\endgroup\$
1
  • \$\begingroup\$ How are you building your Texture atlases? Texture2D.PackTextures()? \$\endgroup\$
    – derivative
    Commented Apr 27, 2014 at 18:55

1 Answer 1

1
\$\begingroup\$

You could always use Screen.currentResolution or Screen.width/Screen.height if you're trying to switch based on the resolution of the version.

If you want to get the exact version of iOS use SystemInfo.operatingSystem on Unity 4.3+ and iPhoneSettings.systemVersion on older versions

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .