The Attributes that [SaveTime] - Unity3D - GameDev

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 66

  • @Ninja-Dev
    @Ninja-Dev 2 ปีที่แล้ว +10

    @Jason Weimann Time indices, pin if you like :)
    4:06 Min, Tooltip
    4:58 Range
    5:25 Multiline
    6:49 Header
    9:02 MenuItem
    11:36 ContextMenu
    14:15 SelectionBase
    15:30 RuntimeInitializeOnLoad
    16:17 Serializable
    17:09 Wrap-up - more attributes...

  • @bomdiajj
    @bomdiajj 3 ปีที่แล้ว +32

    Hey Jason, you can also set the size of the TextArea attribute
    Just give it 2 arguments [TextArea(x,y)]. x is the minimum size (in lines) the field will have, after that it will increase it's size until it reaches y lines and show the scroll

  • @VioletteValkyria
    @VioletteValkyria 3 ปีที่แล้ว +23

    Pro tip : Buy Odin Inspector already and really get the most of those Attributes! It's by far the best asset on the asset store!

    • @bunnybreaker
      @bunnybreaker 3 ปีที่แล้ว +2

      I have Odin, but hardly used it. Do you have to inherit from the Odin types to use the attributes?

    • @bunnybreaker
      @bunnybreaker 3 ปีที่แล้ว

      @@TopShelfCookieJar Ermagerd, thanks. Gonna look at those now.

    • @shoco2
      @shoco2 3 ปีที่แล้ว +1

      The best 30$ I've spent in my life

  • @mykaelboyte-coutu1388
    @mykaelboyte-coutu1388 3 ปีที่แล้ว +1

    You wrapping this up twice was quite funny haha! Good video thanks!

  • @_ian_
    @_ian_ 3 ปีที่แล้ว +1

    Abolutely +1 for [SelectionBase] ... I've been attributin' for years but only just learned this one from you, thanks Jason!

  • @mira3504
    @mira3504 3 ปีที่แล้ว +4

    oh my god i was literally searching for a RunTimeInitializeLoadType kinda thing yesterday!!!! thank you so much eee

  • @Deadbeliever
    @Deadbeliever 3 ปีที่แล้ว +2

    I currently am doing the ultimate game dev course....It is worth every dollar....Brilliant stuff!!!
    Thank you Jason & Thomas!!

  • @bigedwerd
    @bigedwerd 3 ปีที่แล้ว +1

    Awesome tips as usual. Thanks Jason.

  • @justinanderson267
    @justinanderson267 2 ปีที่แล้ว +2

    This may be something that has changed since this video was released, but you can define the range of a text area with something like [TextArea(15, 20)]

  • @kylenissen2010
    @kylenissen2010 3 ปีที่แล้ว +9

    [SerializeField] You missed a major one! Lets you expose private variables in the inspector without having to make them public, keeps things encapsulated in the class. (You even used it in one of the classes in the [Serialize] section.

    • @pmacdev
      @pmacdev 3 ปีที่แล้ว +1

      Also [NonSerialized], saved me a lot when making save files.

    • @juancereda5952
      @juancereda5952 3 ปีที่แล้ว

      This, and using properties with private setters is the way.

  • @tienshido
    @tienshido 3 ปีที่แล้ว

    Thank you lol I was going to ask about that course :) I love thomas and Honestly Jason you have done so much to help me grow too! :) I wanted both of your courses already:) so I am hoping that soon I can do it :)

  • @Rovsau
    @Rovsau 3 ปีที่แล้ว

    Great video! Very well explained and demonstrated.

  • @cole1396
    @cole1396 3 ปีที่แล้ว

    Love your videos man, very very helpful

  • @justinwhite2725
    @justinwhite2725 3 ปีที่แล้ว

    Awesome. I use Odin inspector and I've been wondering how to make my own attributes.

  • @artistpm1
    @artistpm1 3 ปีที่แล้ว

    This is a great sum up, thank you.

  • @Havie
    @Havie 3 ปีที่แล้ว +1

    Naughtdog attributes (free) is also super helpful . Resizabletext box OP

  • @supertenchoo4271
    @supertenchoo4271 3 ปีที่แล้ว

    very informative video Thanks Mr Jason

  • @mcgeufer
    @mcgeufer 3 ปีที่แล้ว +17

    And there is even more fun with "naughty attributes" it's available for free in the asset store.
    It sports a few additional [attributes] that allow to make things like boxes for x variables and other stuff like min/max-sliders.
    I'm not involved at this project at all, I just like that asset.

    • @daryll4645
      @daryll4645 3 ปีที่แล้ว +2

      I use it, its awesome!

    • @vudshpreyk
      @vudshpreyk 3 ปีที่แล้ว +1

      Yes, it's free and has a ton of features

  • @ahadnazari9110
    @ahadnazari9110 3 ปีที่แล้ว

    Awesome tips 🙏🙏🙏

  • @FileTh1rt3en
    @FileTh1rt3en 3 ปีที่แล้ว

    Is there an attribute that gives you the file name or path of a dragged in object? I feel like I ran across this in some tutorial somewhere but I can't remember exactly how it worked. Say you wanted the file path of something like a ScriptableObject, you could drag that object into the slot and the slot would be filled by the path or name of it. Probably in reference to Resources.

    • @jackoberto01
      @jackoberto01 3 ปีที่แล้ว

      You could use Assetdatabase.GetAssetPath in OnValidate

  • @normalhumanbeing6066
    @normalhumanbeing6066 3 ปีที่แล้ว

    What font does your IDE use? Looks sick

  • @RobLang
    @RobLang 3 ปีที่แล้ว

    Excellent video!

  • @ramonalexferreira6191
    @ramonalexferreira6191 3 ปีที่แล้ว +1

    Hello, I have work with java for almost 2 years, now iam working with flutter as a front end developer.
    I always dream in working in games cause is my passion, but I feel old(I have 28) to start and think that may be a hard market for me( I live in Brazil).
    Do you have any tips tips to help me decide?

    • @andersmartensson8659
      @andersmartensson8659 3 ปีที่แล้ว +2

      Well, just a short comment, you are never to old. I'm 45 and I started my own company last yer and are learning from Jason while still work on my regular daytime job. Goal si to be able to live on making games.

  • @sohankaushik7
    @sohankaushik7 3 ปีที่แล้ว

    Thanks!

  • @1993Duckman
    @1993Duckman 3 ปีที่แล้ว

    Do the courses touch on or include the new input system?

  • @tienshido
    @tienshido 3 ปีที่แล้ว

    6 days…well I hope you have another course together soon after :)

  • @jacobester3846
    @jacobester3846 3 ปีที่แล้ว

    Thank you Sir!

  • @AlanZucconi
    @AlanZucconi 3 ปีที่แล้ว +1

    Nice title! 🤪

  • @machetebtv2041
    @machetebtv2041 3 ปีที่แล้ว

    I’m leaning towards going to school for designing rather than programming because of my lifelong struggle with math. Is my gigantic lack of mathematical skills something that would stop me from being able to program/code?

    • @JohnWellingtonWells
      @JohnWellingtonWells 3 ปีที่แล้ว +1

      I'm just a hobbyist who learned C# for Unity development(mainly through youtube, googling and reading documentation) so I have no real clues about professional game development, but I can tell you this. I'm god awful at math. I straight up failed high school math, TWICE!
      Thus far I've not run into any major problems with my lack of math skills, sometimes I have to google simple math stuff like percentage calculations and there might be a bit of trial and error when I want an equation to pump out specific results, but I seem to manage. I'll never be good enough to make my own game engine from scratch and things like that, but I am good enough to make the games I want to make and my math skills have never stopped me from implementing a new mechanic or what not.
      So if you want to make indie games you will probably be fine. If you want to work for Rockstar developing top of the line AI or rendering techniques for the new GTA game, maybe not.

    • @VioletteValkyria
      @VioletteValkyria 3 ปีที่แล้ว +2

      I have been in the industry for soon to be 15 years and unfortunately, game design is probably more math heavy than programming. Designing game features is one part of the job, but balancing them to be fun for the player often involves a lot of not-fun spreadsheets!

    • @jackoberto01
      @jackoberto01 3 ปีที่แล้ว

      No it doesn't have to be there's so many different roles in programming some which do require a lot of maths and some which don't
      I've been studying game programming for a year now and barely had to do any difficult maths. You'll need some 3D maths understanding Vectors, difference between local and global space. You'll need this as game designer as well though
      Clean and abstract code is often more important than writing really complicated code unless you're speciallizing in a specific subject

  • @aligdev
    @aligdev 3 ปีที่แล้ว +1

    3:10 Nice monitor!

  • @BBRAVOHAX
    @BBRAVOHAX 3 ปีที่แล้ว

    I am apart of fulltime gamedev but idk if I have access to the ultimate course

  • @ChrisBrown-cu6hx
    @ChrisBrown-cu6hx 3 ปีที่แล้ว +1

    Ultimate game dev course looks great, but it's sadly outside my budget right now. Wish I could get it because I am wanting to move out of my current job.

    • @finefreshbread3243
      @finefreshbread3243 3 ปีที่แล้ว

      I know I’m in no place to say this but I’m currently a highschool student that learnt how to make games and let me tell you, you don’t need to pay to know how! There’re tons and tons of channel that can help you FOR FREE! For example, my favourite is Brackeys and Blackthornprod, Dani is also a channel that covers tutorials and have funny game dev logs. And if you want to know more, GDC is a good channel for it since its like a TED talk for game developers! Anyhow best of luck to you and your future! Game development might look hard but once you’ve gotten the hang of it it’s just as easy as teaching English to rocks (hypothetically lets say the rock is sentient)

  • @klarnorbert
    @klarnorbert 3 ปีที่แล้ว

    You rock!

  • @MasterArrow
    @MasterArrow 3 ปีที่แล้ว

    Oh god my takeaway from this REALLY shouldn't have been "oh wow I've never heard of scriptableobjects" 😔

  • @dk3390
    @dk3390 3 ปีที่แล้ว +1

    Hey Jason what's going on ? 😁

  • @StygianStyle
    @StygianStyle 3 ปีที่แล้ว

    I hope I fall into the pit of success.

  • @drominus3875
    @drominus3875 3 ปีที่แล้ว

    [SelectionBase] !!!

  • @abdoudjam6846
    @abdoudjam6846 3 ปีที่แล้ว +1

    oh hey Jason, i haven't used Unity in 3 years, can I get back

    • @QuietSnake-xs5vx
      @QuietSnake-xs5vx 3 ปีที่แล้ว

      If you want to

    • @powercore2000
      @powercore2000 3 ปีที่แล้ว

      Yup, it's never too late

    • @Novus_Black
      @Novus_Black 3 ปีที่แล้ว

      Of course; the base structure has remained basically the same. The only 2 big changes is that they removed the code editor (monodevelop) packaged with it but VS code should remedy this if you used it. The 2nd is that they have a launcher now which explains itself.

    • @AdamMooreGameDev
      @AdamMooreGameDev 3 ปีที่แล้ว

      The UI is much nicer and it has some nice new features. :)

    • @VioletteValkyria
      @VioletteValkyria 3 ปีที่แล้ว +2

      No, if you don't use it for over 2 years, it will pout and ignore you.

  • @madscience6283
    @madscience6283 3 ปีที่แล้ว

    Test 2
    0:00

  • @mechanicaltimi123
    @mechanicaltimi123 3 ปีที่แล้ว

    Best advice is to buy assets. All good games just purchase assets.

  • @madscience6283
    @madscience6283 3 ปีที่แล้ว

    Test
    th-cam.com/video/h39S1YIhPVs/w-d-xo.html

  • @simmzzzz
    @simmzzzz 3 ปีที่แล้ว +3

    What happened to this channel? Episodes have become just one big advertisement...

    • @swagg7109
      @swagg7109 3 ปีที่แล้ว

      Well yeh. How else are they going to make money and keep the channel afloat. I hate ads myself but come on, don't be dense.

  • @benjoe4126
    @benjoe4126 2 ปีที่แล้ว

    Best free solution: NaughtyAttributes
    Look it up ppl. I have it in all of my projects. Much more lightweight than Odin and it's free and open source.