1
\$\begingroup\$

I'm using Unity3D version 5.0.

I'm wondering what the best way to deal with changing resolutions in Unity is. In Swift I can just use the @x2/@x3 in order for it to pick the correct sprite for it to use. Is there a similar mechanism in Unity?

Thanks

\$\endgroup\$
1
\$\begingroup\$

I would read this and this for some helpful tips.

The short answer is no, but Unity has some very convenient and efficient tools to handle scaling images. So ideally you should choose the highest resolution you wish to support, and let the engine scale it from there. I'm not 100% on this, but I think I read somewhere that when you build the project for export, Unity's optimizer will pre-generate scaled images for use in the final product.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.