Hierarchy Hack: Add Indicator Icons for EASY Debugging

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 54

  • @git-amend
    @git-amend  16 днів тому +6

    Happy Sunday everyone! Shorter video today, but hopefully useful to everyone!

  • @murtaza1525
    @murtaza1525 16 днів тому +19

    Without a doubt, the MOST informative unity coding channel on youtube.

    • @git-amend
      @git-amend  16 днів тому +1

      Thank you, very kind to say!

  • @asgorathalpha8316
    @asgorathalpha8316 16 днів тому +9

    Unity should just hire you to make all of this stuff as part of Unity

    • @git-amend
      @git-amend  16 днів тому

      Haha maybe one day…

  • @senser1o76
    @senser1o76 16 днів тому +12

    the best unity channel

    • @git-amend
      @git-amend  16 днів тому +1

      Thank you! Very kind to say!

  • @silchasruin4487
    @silchasruin4487 16 днів тому +1

    Jeez man, I didn't even think about this. I guess my projects have just not gotten big enough that it's become a problem but I can already see how much time this can save. I've been falling down the asset creation rabbit hole, especially since I've got zero art skills and zero money for artists or assets. So greatful for the content!

  • @prometheus1100
    @prometheus1100 16 днів тому +1

    Hands down my favourite Unity channel. You're doing great Adam, keep it up!

    • @git-amend
      @git-amend  16 днів тому

      Wow, thanks! I appreciate that!

  • @leos-clockworks335
    @leos-clockworks335 14 днів тому

    This is pretty cool, was thinking about using this with Odin and you just showed it, lol.
    I liked that your project's folder structure uses '_Project' I also set it up like that, so the folder is always on top.
    Great content as usual.

    • @git-amend
      @git-amend  14 днів тому

      Thank you! Glad to hear that!

  • @bluzenkk
    @bluzenkk 16 днів тому

    This is an awesome tutoiral/hack.
    i've always find odin to be too cumbersome and wanted a more custom lightweight solution but was too lazy to do it myself.
    Thanks!

  • @arthur-Ludwig
    @arthur-Ludwig 16 днів тому +2

    I love you for teaching all of this for free

  • @Abdulwahab-vb6he
    @Abdulwahab-vb6he 14 днів тому

    Every video is informative and contains a bulk of knowledge. always wait for a weekend😎

    • @git-amend
      @git-amend  14 днів тому +1

      Glad you like them!

  • @mananzi9907
    @mananzi9907 16 днів тому +3

    The man resurrectting Unity all by himself is back!
    Unity docs needs to keep up!

    • @git-amend
      @git-amend  16 днів тому +1

      And I hope that they do!

  • @512Squared
    @512Squared 9 днів тому

    Would be useful to ensure the objects that have validation problems are expanded in the hierarchy just to make them easier to catch on a mature and sophisticated UI

  • @TheArghnono
    @TheArghnono 16 днів тому +1

    Incredibly useful piece of code! Thanks.

  • @fliprixnor
    @fliprixnor 12 днів тому

    amazing content. good work!!

  • @chizuru1999
    @chizuru1999 16 днів тому

    Awesome! Can you also show what customizations you did in Unity such as the layout you had?

    • @git-amend
      @git-amend  16 днів тому +1

      You can see this video here for a list of most of the Assets I use regularly that make Unity different/better
      ua-cam.com/video/0_ZRHT2faQw/v-deo.html

  • @01codebit
    @01codebit 14 днів тому

    Great video, thank you!

  • @rutchjohnson
    @rutchjohnson 16 днів тому

    Happy Sunday!

  • @timurradman3999
    @timurradman3999 15 днів тому

    Really cool stuff! I create a hierarchy icon drawer component that adds a custom icon to gameObjects in the hierarchy and this is utilizing this further than I imagined.
    I'm wondering how heavy will this be on a project with tons of gameObjects in the hierarchy and other Editor related scripts running at the same time?

    • @git-amend
      @git-amend  15 днів тому

      Nice. I don't think this will have much of an impact on Editor performance. The redraw is only triggered on a value change, and the icon is cached.

  • @Un4GivNX
    @Un4GivNX 14 днів тому +1

    How would you adapt your code to support the Dont Reload Domain QoL feature? Those statics might bring issues.

    • @git-amend
      @git-amend  14 днів тому +1

      I would not make any changes. The Dont Reload feature is only applies to statics being reset while coming out of Play Mode. I only care about the statics having correct values after a code change, for which I would either manually reload myself or use Hot Reload. The dictionary storing data about types and fields is not going to change moving in and out of Play Mode.

    • @Un4GivNX
      @Un4GivNX 14 днів тому +1

      @git-amend oh you're right, awesome then =)

  • @Fitz0fury
    @Fitz0fury 16 днів тому

    So last week we had something odin ish, this week it's vhirarchy...any chance we can do something like vfolders? I'd love to have custom pinned project folders and stuff like that.

    • @git-amend
      @git-amend  16 днів тому

      Oh, does vhierarchy have this feature? I didn't even think of that. I'll give pinned tabs/folders some thought!

  • @damonfedorick
    @damonfedorick 16 днів тому

    Nice!

  • @hoshicameron
    @hoshicameron 8 днів тому

    Amazing

  • @gladiko2364
    @gladiko2364 16 днів тому

    I wish there was any indication on which object in the scene produced an error when it appears. ;_;

    • @git-amend
      @git-amend  16 днів тому

      You mean an indicator in the scene view?

    • @gladiko2364
      @gladiko2364 16 днів тому

      @@git-amend I mean an indicator in the hierarchy.
      Let's say an error (ex. null reference exception) appears during runtime, and you click on it in the console - it should select the gameobject that fired that exception, or highlight it in the hierarchy or something.

    • @git-amend
      @git-amend  16 днів тому +1

      Oh I see. I'm pretty sure if you click a null reference exception in the console - at least in Unity 6 - it will ping the game object where the error came from. It would probably not be too hard to go a bit further and show an icon there as well, but that might require a different kind of hack.

  • @PhiLudo
    @PhiLudo 15 днів тому

    why not make it a unity store asset?

    • @git-amend
      @git-amend  15 днів тому +1

      Store assets require support… something I don’t have time for right now unfortunately

    • @PhiLudo
      @PhiLudo 15 днів тому

      @@git-amend ah ok fair enough

  • @zorglug
    @zorglug 16 днів тому

    Nice, but current extensibility of the hierarchy is so messy, with just blindly drawing inside a rect... What if something else draws at the same place (Cinemachine, Playmaker)?