|
Do I need to change all of my scripts to make it work for the iPhone? Or should it work anyways? These are the kind of scripts I am using: function OnGUI () {
} Does this work on iPhone? Thx
(comments are locked)
|
|
It will work - but it won't be fast. You should avoid all OnGui calls on iPhone for the sake of speed :) Indeed it won't be fast at all. Here's an article with details... http://www.mindthecube.com/blog/2010/09/avoiding-performance-cost-of-ongui
Sep 22 '10 at 01:58 PM
equalsequals
I've been using OnGUI for most of my menu and HUD in iPhone without much complaint. However, this is a very good article and I will certainly be rethinking my GUI approach.
Sep 22 '10 at 03:22 PM
karl_
(comments are locked)
|
|
It works. Next time why don't you just try it instead of asking? (Unless you don't have it yet) I don't have unity iPhone yet. I will get it when I finish. I know it works for PC, but didn't know if it would work on iPhone. Got it?
Jul 13 '10 at 08:06 PM
Collinbxyz
Ok that's cool.
Jul 13 '10 at 08:15 PM
MikezNesh
(comments are locked)
|
