Hi
I have got a question I didn’t catched on after reading the script reference.
In the description of OnMouseDrag or OnMouseDown at each time I’ve read following sentence:
This event is sent to all scripts of the Collider or GUIElement.
Now that’s what I think is, the collider in e.g. a 3D-scene or a GUIElement in e.g. a menu.
GUIElements can be buttons, labels …
If I have a picture as a “Texture2D” - is this a GUIElement?
What I am working on is following:
in my main-content-are (about 1000x600) should be a map (about 7kx4k and bigger; I know, u3d is scaling it down, but I’m working on a “cutter”, too). The map should be shown in original-size (or as big as possible) and per dragging with the left mouse you can move on the map.
I’ve got some code-examples by sturestone, but I didn’t get it up to now…
Thanks a lot, if you would/could help
Alex