|
Hi all, I would open a GUI.window when a 3d object on the scene is clicked ...something like this: http://answers.unity3d.com/questions/8144/trying-to-pick-up-and-see-paper-pop-up-gui-window-to-examine-objects-when-click ...but for open a window not a texture (because I want to drag it and control the alpha amount) This is my GUI.window code:
any suggestions? thanks. bye.
(comments are locked)
|
|
sorry for stupid question ...I'm a newbie ... pauldstewart: "idiotto?" ... do you want to offend me? ..why? btw I have solved with these scripts:
and 3D object script:
now I'm working on rotate and zoom the window and cursor change (from arrow to hand)..
(comments are locked)
|

Did you read the answer to the question you linked to? Duck explains how to use OnMouseDown and OnMouseUp to make things happen when an object is clicked on. All you'd have to do is make them toggle windowOpen.
Exactly what burnumd said..
Idiotto........