|
Hi, im working on a script to grab a texture using mouse and move it throught the screen. I want to move different textures to order it. I have: void OnGUI() {
With this i can move the texture but always without moving out of the texture or it stops. How can i fix it? Thanks
(comments are locked)
|
|
you can have a variable called "drag" and then make it true when you click on a texture and then move the texture to mouse position till a mouse up event occures.
(comments are locked)
|
