How to make a simple Loading Screen.?
Before raising any question, PLEASE use the search function FIRST
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;
}