Quantcast
Channel: Answers for "Need help with GUI script. (C#)"
Browsing all 4 articles
Browse latest View live

Answer by iHaveReturnd

Is this script on your player? I've had problems with using OnDestroy and typically call what I want to happen before Destroy gets called instead. For example: public GUITexture GameOver; void...

View Article


Answer by Pharaoh_

GUI elements are drawn in the OnGUI() method. Have you attached it to a game object? If you have, it should work.

View Article


Answer by iHaveReturnd

Is this script on your player? I've had problems with using OnDestroy and typically call what I want to happen before Destroy gets called instead. For example: public GUITexture GameOver; void...

View Article

Answer by Pharaoh_

GUI elements are drawn in the OnGUI() method. Have you attached it to a game object? If you have, it should work.

View Article
Browsing all 4 articles
Browse latest View live


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