Hi,
I am a newbie with Unity, and I am testing it’s scripting ability now. May someone help me out. I would like to create a scene where an object will move and rotate to a certain direction in a specified distance with a mouse click? May someone provides me some sample codes?
And I have a script to trigger an event. It now happens whenever I move my mouse. How can I control it to happen only while my mouse button is down?
Thank you very much!!