Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Do something when there is no mouse click

$
0
0
Hey, I have a question about OnMouseDown, Right now I have an if statement on in that says that if the mouse is down then do this. Else aplication.loadlevel etc Right now it only loads the other scene if I click anywhere except the object the script is attached to. I want that to happen, but I want it to also load that scene if there is no mouse click at all. Thanks

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>