hello,
i am trying to make a animated load screen that should run on the iphone
sofar i built very simple scene, with only one guitexture in the middle, and a script, that exchanges the texture of guitexture
on Awake() i do a DontDestroyOnLoad(this);
and just for debuging purpose, i do not destroy it at all.
edit : just noticed, that it does not work on the mac either, Application.LoadLevel seems to prevent the calling of the Update functions /edit
i tried to put the animating script in Update, LateUpdate and FixedUpdate, no change
any ideas how to solve this?
Eric5h5
January 23, 2009, 11:21am
2
LoadLevel is an atomic operation; i.e. it takes place in one frame. Therefore you can’t have animations during LoadLevel. Even if it takes some seconds to load, it’s still 1 frame.
–Eric
Is there any way around this (even creative methods) or do we just have to live with it and never have animated loaders?
Use Xcode technique!
Create UIView with UIImageView
Load image sequence on the UIImageView
Start animation while going to load the new level.
Stop the animation after loading it.
It’s really worked and we used it
Lokken
July 14, 2010, 7:51pm
5
Can you post a more detailed explanation of your work around?
defjr
July 14, 2010, 8:56pm
6
Yeah, I’d also love to know more about how you make this happen.
Another vote here for details!
Most of us know Unity, but few of us know Xcode