|
Hi, all! I have three GUI Boxes in the OnGUI function. However, whenever I add the third into the code, I get the following error, repeated three times..
What can I do to fix this? My code is as follows.
(comments are locked)
|
|
Are Experience and XP defined and have a value on startup? Try changing Experience.XP with 50 so you could verify if there's something wrong with that. Ah, yeah. XP was set to 0, so the bar wouldn't have any height.
Aug 28 '10 at 06:05 PM
Borealis
Great to see that you fixed the problem! You should then mark the answer as accepted :)
Aug 28 '10 at 10:40 PM
Edy
(comments are locked)
|
|
Check the following points: Vote up and accept it, if working!
Nov 28 '12 at 11:28 AM
DeveshPandey
(comments are locked)
|

Depending on what game object you attached this script too, you need to make sure you have your actual skinned textures dropped into your skin, and skin2 slots.