Quantcast
Channel: Answers for "UnityGUI display delay"
Viewing all articles
Browse latest Browse all 6

Answer by Uriel_96

$
0
0

Not 100% efficient but maybe this can work:

var startgame = false;
function Update(){
if(startgame == true){
//There go your code
}
}
function OnGUI(){
//Create your label
if(startgame == false){
startgame = true;
}
}

The why of this question I don't know maybe is error of Unity or maybe is yours but this code will make that your game starts when the GUI's are shown


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>