Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

GUI.Window only shows for one frame under all circumstances

$
0
0
Okay, this is really starting to annoy me as I've tried to fix it for over a week now and the internet doesn't help at all because people keep asking this question saying that they put the window call in a GUI.Button statement. GUI.Window will NOT render for me even if I put it under the OnGUI function with nothing else in there. I've tried GUI.Window and GUI.ModalWindow (which is what I'm aiming to do). Please help me fix this, I've also tried putting it in multiple different scripts and it will not work, here's something similar to what I'm doing: function OnGUI(){ GUI.Window(0, Rect(0, 0, 1920, 950), StupidAssWindow, "The non-renderer"); } function StupidAssWindow(id : int){ print("I don't ever print to the console"); } That's not the exact code I use but I only have different names set, this won't work. Please help me. And if you can find the fix in C# I can understand C# nearly as well as JS so I can translate it fine.

Viewing all articles
Browse latest Browse all 1875

Trending Articles



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