Quantcast
Channel: Latest Questions by MasterBLB
Viewing all articles
Browse latest Browse all 44

GUI does not show

$
0
0
void onGUI() { Rect r=new Rect(10,10,150,100); if(GUI.Button(r,"I am a button")) { print("You clicked the button!"); } } I've added script containing the code above to a object on scene,camera,but the button does not show.Why?

Viewing all articles
Browse latest Browse all 44

Trending Articles



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