Quantcast
Channel: Answers for "GUI functions inside OnGUI giving argument exception"
Viewing all articles
Browse latest Browse all 4

Answer by whydoidoit

$
0
0
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.

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles



Latest Images

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