I am using GUILayout.Window and my code is as follows:
My question is there, I have been trying to pass the function part of the gui window code to all for variables to be passed into that function, is that possible?
asked Jan 04 '11 at 03:23 PM
if you mean using your windowFunc outside the OnGUI function, yes you can as long it is declared out side the funcion
if this is not what you are lookin then you can or if you are using it inside the OnGUI function then the GUI.WindowFunction can be inside the OnGUI, on both it will work
hope this helps
answered Jan 04 '11 at 03:54 PM
Maybe a delegate?
answered Jan 04 '11 at 03:58 PM