Charger Games

Unity C# Quiz:

Which is the Correct code to Detect Left Mouse Button Single Click ?

2 years ago | [YT] | 45



@ChargerGames

Master Unity in 30 Days : bit.ly/48Fyakd [New Course] Learn Something New Everyday for 30 Days, 25+ Projects :)

2 years ago | 2

@Krsna_11

I think the right option is not there, because Single click registered when pressing and releasing occur...So the right answer would be Input.GetMouseButtonUp(0) which is triggered after user press down and release the button.

2 years ago | 0

@mikhailhumphries

Isn't the new Input system different?

2 years ago | 0

@ygdadrd3yt

Lol input.getleftmousebuttondown lmao

2 years ago | 0