Performance on Android (Unity)
Posted: 09 Mar 2014, 19:46
Hi, I've just started testing a few gui elements on my Samsung Galaxy Nexus phone.
Now, the first thing I tried was a simple grid divided into 3 columns.
The left column contains a simple border.
Middle column is empty.
Right column contains a border with a gradient background, containing a canvas with 3 simple buttons.
The right border has a storyboard which animates its translatetransform in rendertransform.
My problem is that this animation, which slides the right column into or out of view cubic ease-in-out is pretty choppy on my device.
I find that a bit surprising, since I have so few controls i the tree. In the Unity editor its smooth.
My question is what kind of performance to expect on android. Is there something inherently wrong with animating a rendertransform, or are there other do's and dont's that apply on mobile?
I've tried running with offscreen width and height set to 0 and medium quality, and I've tried both ppap and msaa with no change in performance.
Please advice if theres something I can do to optimize performance.
Right now I get choppier animations than with Daikon-Forge, which is very cpu-heavy when tweening.
Now, the first thing I tried was a simple grid divided into 3 columns.
The left column contains a simple border.
Middle column is empty.
Right column contains a border with a gradient background, containing a canvas with 3 simple buttons.
The right border has a storyboard which animates its translatetransform in rendertransform.
My problem is that this animation, which slides the right column into or out of view cubic ease-in-out is pretty choppy on my device.
I find that a bit surprising, since I have so few controls i the tree. In the Unity editor its smooth.
My question is what kind of performance to expect on android. Is there something inherently wrong with animating a rendertransform, or are there other do's and dont's that apply on mobile?
I've tried running with offscreen width and height set to 0 and medium quality, and I've tried both ppap and msaa with no change in performance.
Please advice if theres something I can do to optimize performance.
Right now I get choppier animations than with Daikon-Forge, which is very cpu-heavy when tweening.