Custom Cursor with Input System - Unity Tutorial

preview_player
Показать описание
Learn how to make a custom cursor using Unity's new input system.

ᐅGet the full Source Code Bundle to my Unity Tutorials 🤓

📥 Get the Source Code 📥

🔗 Relevant Video Links 🔗
ᐅInput System Videos
ᐅKenney's Game Icons (expansion):
ᐅForest - Low Poly Toon Battle Arena / Tower Defense Pack
ᐅCustomizable skybox

🤝 Support Me 🤝

Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets!

😎 Cool Unity Assets 😎

⏱️ Timestamps ⏱️
0:00 Intro
0:38 Cursor Setup
5:01 Animated Cursor

💖💖THANK YOU TO ALL MY PATRONS 💖💖

❯❯❯ My Links ❮❮❮
💗 Patreon 💗
💬 Discord Server 💬
🐦 Twitter 🐦
📚 Facebook 📚
🎵 Music 🎵
Fretless by Kevin MacLeod
👍 Like and Subscribe! 👍

🖥️ Computer Setup 🖥️
*As an Amazon Associate I earn from qualifying purchases.

#unity3d #unitytutorial #gamedevelopment
Рекомендации по теме
Комментарии
Автор

This channel is so underrated. This is easily the best Unity tutorial channel for beginners on YouTube.

eamartig
Автор

I love how she moves the mouse around the thing while explaining it. It shows a lot of enthusiasm about the topic.

HappyDinosaur
Автор

Thanks! I have watched so many different videos and none of them worked, but this video was straight to the point.

MasonWolf
Автор

If you get a "Can't add script error" it's because line 5 of the code after "public class" needs to be the same name as whatever the script is. This is my second day of unity and I renamed the script after I made it so the names didn't match. Awesome video, thanks for NOT including 10 minutes of fluffy BS.

CrunchyClub
Автор

Thank you so much for this video! I've learned so much in just the first half alone! This is my first step to building a game, and it feels really good to see something actually working when I press play!

moandtell
Автор

This is the best tutorials I have seen for UNITY. Well done! And thank you so much for this great content.

anaribeiro
Автор

If you get an error message like me that says "`Cursor' does not contain a definition for `SetCursor'" its because you named your script "Cursor". Was banging my head against the wall trying to figure it out. Dont be like me, name your script appropriately lmao

uhhhhh
Автор

When writing script, for start function, 7:47, controls.Mouse.Click.started, my script has error: “CursorControl does not contain a definition for “Mouse” . There was an option for MouseActionMap, are they the same ? How to fix this error?

kaloshabuthapa
Автор

YAY! new video that explains stuff which l have no idea what is this :D

alphaanar
Автор

How do I make the cursor scale correctly with different resolutions? :(

angiemon
Автор

Thank you so much I needed this type of tutorial =D

georgigeorgiev
Автор

THANK YOU! this saved me, i was struggling! haha

mantavisions
Автор

Thank u so much for this video!!! It helps soooo much! You're really a good teacher!!!

starwarsfan
Автор

i have been informed by unity that "'Texture2D' does not contain a definition for 'SetCursor' and no accessible extension method 'SetCursor' accepting a first argument of type 'Texture2D' could be found (are you missing a using directive or an assembly reference?)"
can you provide assistance? would be appreciated

klauses
Автор

My imported cursor only appears once I hit escape. Any ideas?

HdmiFly
Автор

This is such a great and clear tutorial! I'm just wondering (as I am new to unity) if there's a way I can use this method to click my objects but also use the mouse to look around the environment also? Thank you for any help you can give :)

chloefinlay
Автор

I get this error code when I try this "Assets\Pixel Cursors\CursorController.cs(24, 6): error CS1513: } expected"

ofcmusy
Автор

Nice video! May I ask if we can resize the cursor using script? Thanks.

jianingzhuang
Автор

For using a mouse cursor in a menu system, would "release only" be suitable? I'm trying to create a mouse interaction that feels "natural" (at least in a menu to start)

functionSam
Автор

hi, i was thinking of changing my project's implementation of inputs to 'input system', but is it worth it?
I say, 'input system' is in version 1.0, so I imagine there will be annoying bugs, I saw the documentation but I do not realize the great advantages over doing it the 'traditional' way.
What is your opinion at the time of practice, what 'great advantages' you see in 'input system'.

Thanks, and very good videos, greetings!

fernandomilans
join shbcf.ru