Quantcast
Channel: Answers for "GUI functions inside OnGUI giving argument exception"
Browsing latest articles
Browse All 4 View Live

Answer by whydoidoit

Your TestScript doesn't inherit from MonoBehaviour so I presume you are calling its OnGUI yourself somewhere - it needs to be called from within a real OnGUI for it to work.

View Article


Answer by jetty112

I am trying to use a similar thing, but the OnGUI() in the class wont work for the class objects. I want to call a render function in another script that then renders the class object, but the script...

View Article

Browsing latest articles
Browse All 4 View Live


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