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

Trending Articles