Scriptable Objects in 6 minutes! (Unity Tutorial)

Поділитися
Вставка
  • Опубліковано 28 сер 2024
  • Hit the ground running with Scriptable Objects!
    Scriptable Objects are perfect as data containers or modules that can hot-swap into place for a dynamic experience. However, that's not the limit of their power!
    Using Scriptable Objects, we can introduce some new Patterns into our codebase, like the Event pattern, or extend and improve an existing one like the singleton pattern.
    In this video, we'll check out the basics of Scriptable Objects and use them as editable data containers.
    📝 Play around with the tutorial's source code:
    github.com/Dro...
    🌐 LINKS:
    - Odin Editor & Serializer:
    assetstore.uni...
    🎵Music in this video:
    Music by GameChops - gamechops.com
    =====================
    Discord: drowsyfox.com/...
    Twitter: / drowsyfoxgames
    Instagram: / drowsyfoxgames
    Facebook: / drowsyfoxgames
    ✉️ Subscribe to our newsletter: DrowsyFox.com
    🦊 DrowsyFox™ is an indie game studio consisting of a small team of people who are passionate about creating meaningful and thrilling experiences through casual gaming.
    Subscribe to our channel for Dev Vlogs, Tutorials, and more!
    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 us fund this channel & future projects!
    #Unity3d #ScriptableObjects #gamedev

КОМЕНТАРІ • 18

  • @globes179
    @globes179 Рік тому +1

    I love how you make so many interesting points, but honestly, if I was a beginner watching this, I wouldn't understand at all what is going on. I would suggest not being afraid of making 15 to 20 minute videos laying everything out in a way that makes it more understandable for those who need it most - beginners.

  • @Quazarthegreat
    @Quazarthegreat 2 роки тому +1

    Underrated Channel
    Count me as signed up

  • @HitesH3D
    @HitesH3D 2 роки тому

    finally, a tutorial that doesn't make me sleep.

  • @harpreetjohal1935
    @harpreetjohal1935 2 роки тому +3

    Awesome tutorial!!
    hope you make part 2

  • @dcbayro6073
    @dcbayro6073 Рік тому

    Very clear. Thank you.

  • @MarkMcArthey
    @MarkMcArthey Рік тому

    I love how you show the changes side-by-side. Very helpful! But one question I hope you can clarify. You mentioned you’d want to avoid creating many different instances of a prefab for all the customizations. But wouldn’t you just need to do this for the SO instead before attaching to the monobehavior? Aren’t you just shifting the responsibility? Thanks!

  • @marblecapracers
    @marblecapracers 2 роки тому

    Excellent video drowsy!

  • @thed100mechanic
    @thed100mechanic 2 роки тому

    Great video, glad I found your channel :)

  • @322ss
    @322ss 2 роки тому

    Thanks. Not much new information for me, but nice video editing!

  • @HitesH3D
    @HitesH3D 2 роки тому

    tq

  • @xianead18
    @xianead18 2 роки тому

    May I ask how you are able to automatically apply the values when you change the scriptable object that it currently has?

    • @DrowsyFoxDev
      @DrowsyFoxDev  2 роки тому +1

      There is an Odin attribute being used called “OnValueChanged” that monitors the value bellow it and triggers the function given to it once it does
      There is a link to Odin in the description, it is a paid plugin - but you can often find it on a sale!
      You can check out the source of this project to see what other attributes I’m using, though the rest are just for cosmetic reasons I believe
      Cheers!

    • @xianead18
      @xianead18 2 роки тому

      @@DrowsyFoxDev got it. thanks!!

  • @muhammadamirqushairij30
    @muhammadamirqushairij30 2 роки тому +1

    I love your video!

  • @chernik_us2752
    @chernik_us2752 2 роки тому

    trying to do inventory just learn what the f this scriptable object :D

    • @DrowsyFoxDev
      @DrowsyFoxDev  2 роки тому

      Scriptable objects can be super useful for inventory systems! I might make a tutorial about it soon 😉

  • @JasonEllingsworth
    @JasonEllingsworth Рік тому

    Slow your speech down a good 10%. Also the only people watching this are noobs. Type out your code on screen. Explain it. This is a common mistake in tutorial videos, with people making videos about topics that are only going to be useful for someone of a certain skill level, but they do not explain the details required for someone of that skill level.