Hi all,
is it possible to zoom and pan a texture without ever showing a scrollbar?
I tried with GUI.BeginScrollView but there is always rendered a scrollbar if the viewArea is greater than the scrollArea.
However, I want to scroll in script without showing the scrollbars.
I also tried with a GUI.Box and the ScaleAndCrop ScaleMode. That way I get the zoom to work, but I can’t scroll the texture then as I expected like in the shade r properties where you can scroll the texture through its placement structure).
An example of what I want to achieve is http://www.dataphone.se/~ms/u-com/images/the-sims-aod13-binoc2.jpg
I want the thing between and below the two eyes, which displays the current compass direction, according to the rotation of the binocular.
Any ideas on how to achieve this?
Regards