Im trying to set up a GUI in C# cause all my other scripts are in C# and i dont know how to access a C# script in java. This is the part of my script where i call the GUI:
void OnGUI(){ GUI.Label(Rect(10,10,100,100),Texture); }
now when i plug this into a java script it works. mind you i replace "void" with "function", and so on lol. can any one tell me why this wont work? -----"By the way Texture is a variable I had set up in the start of the script and its set up correctly I checked"-----. The error I get is about something not being in the right place and its looking for something else or something like that all I know is its not working and im getting frustrated