Quantcast
Channel: Answers by "Foose"
Viewing all articles
Browse latest Browse all 34

Answer by Foose

$
0
0
"You need to call this function from the Update function, since the state gets reset each frame. It will not return true until the user has released the mouse button and pressed it again. " Do you have it in your Update or anywhere else? :) Scoure: http://docs.unity3d.com/ScriptReference/Input.GetMouseButtonDown.html

Viewing all articles
Browse latest Browse all 34

Trending Articles