I managed to switch between Unity and arbitrary CocoaTouch components i.e. a UITableView.
It’s working nicely, but I noticed that Unity still consumes a lot of performance while interacting with my UITableView which slows down several CocoaTouch animations (i.e. orientation change transition).
Is there any way to tell Unity to pause rendering or otherwise save performance for a while?
I tried setting TimeScale to 0 but that didn’t seem to have any effect.
There is a PauseUnity(boolean) method in AppController.mm (or whatever it’s called…I’m not recalling). If you put this in your own Obj-c code:
extern void PauseUnity(boolean);
then you can call it in your code and this will pause/unpause Unity.
can’t believe I missed this… thanks. pausing unity doesn’t have a significant effect though.
I know I’m responding to an ancient thread here, but did you ever have any luck improving the performance of UITableView on top of Unity content? We’re having similar problems here (pausing Unity does not seem to help).