- Home /
Question by
ikwanna1991 · May 24, 2011 at 06:43 AM ·
screenloadingloading screen
Loading Screen
How to make a simple Loading Screen.?
Comment
Answer by Dreamer · Jun 11, 2011 at 06:05 PM
I realize I was wrong to direct you to that quest. Cos the answer to it is long and not working according to others.
Now I just did it in my own game, Here is to share how to do it.
static var loading_on : boolean;
var Loading_Screen:Texture2D;
function OnGUI () {
if(loading_on){
GUI.matrix = Matrix4x4.TRS(Vector3.zero, Quaternion.identity, Vector3(1.0*Screen.width/GameData.X, 1.0*Screen.height/GameData.Y, 1.0));
GUI.depth =-10;
GUI.Box(new Rect(0,0,1024,768),Loading_Screen);
}
if(!Application.isLoadingLevel)
loading_on=false;
}
Hi Dreamer
where do you put this? in the new or old scene?
Thanks
Answer by Dreamer · May 24, 2011 at 07:03 AM
Before raising any question, PLEASE use the search function FIRST
http://answers.unity3d.com/questions/42365/loading-screen.html
Your answer
Follow this Question
Related Questions
Animations in Loading Screen 1 Answer
Loading Screen - FLASH export 2 Answers
Default Cursor hourglass during app load 2 Answers
Loading Scree 2 Answers
Initial Web Player loading bar does't move when loading. 0 Answers