Custom Cursors In Unity

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • Learn how to add custom cursors to your game in Unity!
    SOCIAL
    Discord: / discord
    itch.io: bendux.itch.io/
    Twitter: / bendux_studios
    SUPPORT
    Buy Me a Coffee: www.buymeacoff...
    MUSIC
    Five Card Shuffle by Kevin MacLeod
    Link: incompetech.fi...
    License: filmmusic.io/s...
    Lobby Time by Kevin MacLeod
    Link: incompetech.fi...
    License: filmmusic.io/s...

Комментарии • 46

  • @areyouclare5406
    @areyouclare5406 Год назад +9

    Thank you so much for this! It's really cool seeing your custom cursor actually working in Unity!

  • @protaeya
    @protaeya Год назад +4

    Thanks for the quick lesson, but I have a PSA for those who get hit with the whole "image settings are incorrect: is AlphaIsTransparency on, is the image RGBA32, is read/write enabled and mip mapping disabled?" error.
    Just open the Advanced tab then check "Alpha is transparency" and "Read/Write" to true and make sure "Generate mip maps" is off, that seemed to work for me.

  • @pedroaboffa
    @pedroaboffa 10 месяцев назад

    Thank you.. amazinb deiso.. but mine is png 32x32 and says, invalid texture used for cursor. check importer settings or texture creationg. texture must be rgba32 readab le and have no mip chain.. nknow how to fix?

    • @bendux
      @bendux  10 месяцев назад

      It probably has something to do with your sprite.

    • @pedroaboffa
      @pedroaboffa 10 месяцев назад

      already managed to do it, thank you!@@bendux

  • @PeterMilko
    @PeterMilko 6 месяцев назад

    Help, I have a blurry sprite?! (Yes, I set it to filter mode point.)

    • @bendux
      @bendux  4 месяца назад

      It's hard to tell what's going on, but have you tried using a different sprite?

  • @yaboishadowninja
    @yaboishadowninja Год назад +2

    I wanted to make a custom cursor for a clicker game I'm making and OMG it's so easy!

  • @Dr.Kleinerhl
    @Dr.Kleinerhl Год назад +1

    Im using unity 2022.3... i dont have an option to make it a curser in the inspector window

    • @bendux
      @bendux  11 месяцев назад +1

      It should work with any version of Unity.

  • @DevNoob
    @DevNoob 3 года назад +1

    Ah great how you used stardew valley as example! Great :D Because I was just thinking... which games use it`? And there u go SV

  • @legends389
    @legends389 3 года назад +2

    Awesome video
    This is so useful thank you subbed =D

  • @brinch6216
    @brinch6216 3 года назад +2

    Very great and simple tutorial! I have one question though; how do I change the size of my cursor?

    • @bendux
      @bendux  2 года назад +3

      Thank you! Try CursorMode.ForceSoftware instead of CursorMode.Auto.

    • @nm6246
      @nm6246 2 года назад

      @@bendux where do you change this? great video by the way!

    • @nm6246
      @nm6246 2 года назад

      Nevermind on the question, still amazing video :D

  • @minecraftilehm3512
    @minecraftilehm3512 2 года назад +1

    I subbed, i was paranoid first, but after i was happy, good work!

  • @BravoPhantom
    @BravoPhantom Месяц назад

    Nice and simple tutorial. Thanks :)

  • @alecbrynard357
    @alecbrynard357 4 месяца назад

    THANK YOU SO MUCH. Was driving myself insane trying to figure out why my Sprite Renderer cursor couldn't render over my UI. This was exactly what I needed.

  • @oreo9987
    @oreo9987 2 года назад +1

    Thank you so much!

  • @prodbyrobo
    @prodbyrobo 2 года назад +1

    thank you for the help my friend, you got straight to the point

  • @dbweb.creative
    @dbweb.creative 11 месяцев назад

    Thank you so much! Very clear explanation of the basics, I can take it and advance in direction I need.

  • @oliwiaanastazjahaja635
    @oliwiaanastazjahaja635 2 года назад

    Yeah, you've helped mi a lot. Thank you!

  • @crocodairo9269
    @crocodairo9269 3 года назад

    Nice video, earned a new sub! Keep making videos and you'll blow up

  • @remijoel1448
    @remijoel1448 Год назад

    When recording using the Unity recorder, will the cursor show up?

  • @laz3664
    @laz3664 3 года назад

    This is a great tutorial, shame it doesn't have more views

  • @aliabdulmajeed6709
    @aliabdulmajeed6709 2 года назад

    How would i change my cursor by clicking a button? For example, in my game i want the key "1" to be an axe, how would i change my cursor to an image of an axe by clicking a button? Would i do something like ( if Input.GetKeyDown("1") {
    (idk what to put here) }

    • @bendux
      @bendux  2 года назад +1

      The answer to your question goes beyond the scope of a RUclips comment, but I'd still like to help you. Join our Discord server, and let's solve your problem together!

    • @VladimirDemidovIllusiveMan
      @VladimirDemidovIllusiveMan Год назад

      I would go with an event system, when a keypress happens a function fires that changes the texture of the cursor.

  • @AchimTheEagle
    @AchimTheEagle Год назад

    Great easy to follow beginner tutorial! 10/10

  • @roygames2117
    @roygames2117 Год назад

    I have a question. How do I add a sprite to a 3d game?

    • @bendux
      @bendux  Год назад

      docs.unity3d.com/Manual/Sprites.html

  • @helpfulsquid2502
    @helpfulsquid2502 Год назад

    Thanks for your help man!

  • @commonaustin7377
    @commonaustin7377 Год назад

    Much appreciated!

  • @JohnnyInkognito
    @JohnnyInkognito Год назад

    Gut erklärt danke!

  • @munchingfire2165
    @munchingfire2165 2 года назад

    epic tutorial man

  • @deluxe1697
    @deluxe1697 3 года назад

    Gotta love this dude

  • @dreadshin4469
    @dreadshin4469 Год назад

    THX :3

  • @railroadcrossing2825
    @railroadcrossing2825 2 года назад

    It Works

  • @yfzwastaken
    @yfzwastaken 3 года назад

    nice

  • @JesterThr0ugh
    @JesterThr0ugh Год назад

    love it!!