does anyone know how to solve this?
if so, tell me the reason why this is happening and how to fix it.
Capitalization matters. It should be OnGUI (). Due to the capitalization difference, Unity is interpreting your function as a custom function rather than overriding the built in OnGUI () function.
Hello,
You should probably read some examples and documentation
In programming capitols matter, and OnGUI
, like any other function starts with a capitol
Hope this helps,
Benproductions1