Detect Clicks in Unity 2D (New Input System) | Bite-Sized Tutorials

Detect Clicks in Unity 2D (New Input System) | Bite-Sized Tutorials

chunky bacon games

1 год назад

23,794 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

TechBoxNorth
TechBoxNorth - 07.11.2023 12:24

All this just to tell a 2d object that I'm clicking on it!? omg! Video was to the point and easy to follow, thanks for sharing!

Ответить
Aleksandar Ruseski
Aleksandar Ruseski - 30.10.2023 15:23

Thank you very much

Ответить
Marko Rossie
Marko Rossie - 05.10.2023 19:00

Really useful, however, how do you do double click with new input system ?

Ответить
Invisible Man
Invisible Man - 27.09.2023 21:22

you're a life saver, thank u so mutch.

Ответить
Alex Pompon
Alex Pompon - 29.08.2023 14:06

in the "Player input" component in "Events/Gameplay/Click(CallbackContext)" it doesnt show up the "On click" funtion. However it shows "No function" and Mono script

Ответить
Bopl Battle Bros
Bopl Battle Bros - 27.08.2023 15:42

Är du från sverige

Ответить
Axwitech
Axwitech - 13.08.2023 12:43

Great, short and informative video. Please make more. I'd like a similar style video regarding Unitys UI system and how to make simple UI elements.

Ответить
IKK
IKK - 16.07.2023 19:23

very helpful! Thank you!

Ответить
Camille Ragland
Camille Ragland - 01.07.2023 14:42

This helped me out so much, and was a lot easier than the code I was making for clicking objects. Now I'm going to do a drag and drop with it.

Ответить
lonk
lonk - 28.06.2023 17:08

I'm getting this error:
NullReferenceException: Object reference not set to an instance of an object
when I double click it it goes to the line where I create the variable rayHit

Ответить
renis rrenis
renis rrenis - 11.06.2023 09:45

is it most efficient way to detect clicks on large amount of objects?

Ответить
mendo
mendo - 01.06.2023 22:17

I LOVE YOU.

Such a good, short video that gets you up and running.

Ответить
Millennial Russian Knight
Millennial Russian Knight - 06.05.2023 01:01

getting this error:
error CS0234: The type or namespace name 'Remoting' does not exist in the namespace 'System.Runtime' (are you missing an assembly reference?)

Ответить
Owen Lake
Owen Lake - 29.01.2023 18:51

how would you modify the code to work for touch inputs

Ответить
Kabuki Danshi
Kabuki Danshi - 22.01.2023 20:02

Thank you so much! It worked on the first try 😁

Ответить