12
« on: April 04, 2015, 11:22:48 AM »
Hi,
Since I updated to Unity 5 and playmaker I have a problem that my aspect ratio functions doesn't work properly.
I use "Get screen size ratio" and save that value. I then convert that value to a string and save it as a global variable.
Then I use a string switch and check what the global string value is and then I set orthographic size of the camera depending on that string value.
I use that in all scenes when they start to set things right depending on what device the game is played on and I use it when I zoom in and out inside the scenes. It has always worked before Unity 5 and latest updating.
Now, when I play it on the computer, It works without any problems. But, when I try and build it for my iPad, it doesn't work anymore. Going nuts to try to solve this. Any suggestions?