hi there,i got a problem when using a ScrollView together with a window,i want to make the window dragable ,at the same time i can use the scrollview
bar,but if i make the window dragable i can’t use the scrollview bar any more?
how to fix this? thanks!!!
Perhaps you could clarify this a little bit. Do you want the scroll view inside the window? And you are saying you can’t use the scroll bar when you make the window draggable. Do you mean the bar doesn’t appear, doesn’t work…?
If DragWindow appears before your scrollview, it will eat the mouse click events. Put it at the end of your OnGUI, so it will have the last crack at the events.
sorry i didn’t make myself clear,but molix got that
and this works,thanks very much!!