Quantcast
Channel: Answers for "Need help with GUI script. (C#)"
Browsing latest articles
Browse All 4 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
Browsing latest articles
Browse All 4 View Live




Latest Images