The Attributes that [SaveTime] - Unity3D - GameDev

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

КОМЕНТАРІ • 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

  • @joaniepepin4968
    @joaniepepin4968 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!

  • @kylenissen2010
    @kylenissen2010 3 роки тому +8

    [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.

  • @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!!

  • @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)]

  • @bigedwerd
    @bigedwerd 3 роки тому +1

    Awesome tips as usual. Thanks Jason.

  • @Havie
    @Havie 3 роки тому +1

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

  • @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

  • @Rovsau
    @Rovsau 3 роки тому

    Great video! Very well explained and demonstrated.

  • @supertenchoo4271
    @supertenchoo4271 3 роки тому

    very informative video Thanks Mr Jason

  • @justinwhite2725
    @justinwhite2725 3 роки тому

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

  • @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 :)

  • @artistpm1
    @artistpm1 3 роки тому

    This is a great sum up, thank you.

  • @cole1396
    @cole1396 3 роки тому

    Love your videos man, very very helpful

  • @aligdev
    @aligdev 3 роки тому +1

    3:10 Nice monitor!

  • @tienshido
    @tienshido 3 роки тому

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

  • @ahadnazari9110
    @ahadnazari9110 3 роки тому

    Awesome tips 🙏🙏🙏

  • @RobLang
    @RobLang 3 роки тому

    Excellent video!

  • @jacobester3846
    @jacobester3846 3 роки тому

    Thank you Sir!

  • @blackwarrior823
    @blackwarrior823 3 роки тому

    Thanks!

  • @AlanZucconi
    @AlanZucconi 3 роки тому +1

    Nice title! 🤪

  • @klarnorbert
    @klarnorbert 3 роки тому

    You rock!

  • @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)

  • @MasterArrow
    @MasterArrow 3 роки тому

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

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

    I hope I fall into the pit of success.

  • @normalhumanbeing6066
    @normalhumanbeing6066 3 роки тому

    What font does your IDE use? Looks sick

  • @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.

  • @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

  • @BBRAVOHAX
    @BBRAVOHAX 3 роки тому

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

  • @1993Duckman
    @1993Duckman 3 роки тому

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

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

    [SelectionBase] !!!

  • @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.

    • @joaniepepin4968
      @joaniepepin4968 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

  • @dk3390
    @dk3390 3 роки тому +1

    Hey Jason what's going on ? 😁

  • @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. :)

    • @joaniepepin4968
      @joaniepepin4968 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
    ua-cam.com/video/h39S1YIhPVs/v-deo.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.