Hi. My problem is simple. Whenever I try to run this:
void Update(){
while (invokeCanceled == false) {
if (canvasGroup.alpha >= 1f) {
CancelInvoke ("FadeIn");
invokeCanceled = true;
}
}
}
Unity crashes. I don't know why. Any ideas?
↧