|
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?
(comments are locked)
|
|
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
(comments are locked)
|
|
Maybe a delegate?
(comments are locked)
|
(comments are locked)
|
