The Attributes that [SaveTime] - Unity3D - GameDev

Game Architecture Course - bit.ly/3faUnwd
Use Attributes in Unity3D to save time & make your project better with no work. We'll cover the c# attributes you should actually care about and be using in your own game projects.
More Info - game.courses/
Join the Group - unity3d.group
Patreon - / unity3dcollege
Odin Attributes - odininspector.com/attributes

Пікірлер: 66

  • @Ninja-Dev
    @Ninja-Dev2 жыл бұрын

    @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
    @bomdiajj2 жыл бұрын

    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
    @joaniepepin49682 жыл бұрын

    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

    2 жыл бұрын

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

  • @bunnybreaker

    @bunnybreaker

    2 жыл бұрын

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

  • @shoco2

    @shoco2

    2 жыл бұрын

    The best 30$ I've spent in my life

  • @mykaelboyte-coutu1388
    @mykaelboyte-coutu13882 жыл бұрын

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

  • @_ian_
    @_ian_2 жыл бұрын

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

  • @bigedwerd
    @bigedwerd2 жыл бұрын

    Awesome tips as usual. Thanks Jason.

  • @mira3504
    @mira35042 жыл бұрын

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

  • @Rovsau
    @Rovsau2 жыл бұрын

    Great video! Very well explained and demonstrated.

  • @cole1396
    @cole13962 жыл бұрын

    Love your videos man, very very helpful

  • @artistpm1
    @artistpm12 жыл бұрын

    This is a great sum up, thank you.

  • @supertenchoo4271
    @supertenchoo42712 жыл бұрын

    very informative video Thanks Mr Jason

  • @tienshido
    @tienshido2 жыл бұрын

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

  • @RobLang
    @RobLang2 жыл бұрын

    Excellent video!

  • @justinanderson267
    @justinanderson267 Жыл бұрын

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

  • @ahadnazari9110
    @ahadnazari91102 жыл бұрын

    Awesome tips 🙏🙏🙏

  • @mcgeufer
    @mcgeufer2 жыл бұрын

    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

    2 жыл бұрын

    I use it, its awesome!

  • @vudshpreyk

    @vudshpreyk

    2 жыл бұрын

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

  • @kylenissen2010
    @kylenissen20102 жыл бұрын

    [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

    2 жыл бұрын

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

  • @juancereda5952

    @juancereda5952

    2 жыл бұрын

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

  • @Havie
    @Havie2 жыл бұрын

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

  • @justinwhite2725
    @justinwhite27252 жыл бұрын

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

  • @jacobester3846
    @jacobester38462 жыл бұрын

    Thank you Sir!

  • @tienshido
    @tienshido2 жыл бұрын

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

  • @blackwarrior823
    @blackwarrior8232 жыл бұрын

    Thanks!

  • @aligdev
    @aligdev2 жыл бұрын

    3:10 Nice monitor!

  • @klarnorbert
    @klarnorbert2 жыл бұрын

    You rock!

  • @Deadbeliever
    @Deadbeliever2 жыл бұрын

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

  • @1993Duckman
    @1993Duckman2 жыл бұрын

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

  • @normalhumanbeing6066
    @normalhumanbeing60662 жыл бұрын

    What font does your IDE use? Looks sick

  • @BBRAVOHAX
    @BBRAVOHAX2 жыл бұрын

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

  • @FileTh1rt3en
    @FileTh1rt3en2 жыл бұрын

    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

    2 жыл бұрын

    You could use Assetdatabase.GetAssetPath in OnValidate

  • @AlanZucconi
    @AlanZucconi2 жыл бұрын

    Nice title! 🤪

  • @ramonalexferreira6191
    @ramonalexferreira61912 жыл бұрын

    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

    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.

  • @ChrisBrown-cu6hx
    @ChrisBrown-cu6hx2 жыл бұрын

    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

    2 жыл бұрын

    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)

  • @machetebtv2041
    @machetebtv20412 жыл бұрын

    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

    2 жыл бұрын

    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

    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

    2 жыл бұрын

    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

  • @MasterArrow
    @MasterArrow2 жыл бұрын

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

  • @hplovecraftmacncheese
    @hplovecraftmacncheese2 жыл бұрын

    I hope I fall into the pit of success.

  • @dk3390
    @dk33902 жыл бұрын

    Hey Jason what's going on ? 😁

  • @drominus3875
    @drominus38752 жыл бұрын

    [SelectionBase] !!!

  • @abdoudjam6846
    @abdoudjam68462 жыл бұрын

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

  • @QuietSnake-xs5vx

    @QuietSnake-xs5vx

    2 жыл бұрын

    If you want to

  • @powercore2000

    @powercore2000

    2 жыл бұрын

    Yup, it's never too late

  • @Novus_Black

    @Novus_Black

    2 жыл бұрын

    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

    2 жыл бұрын

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

  • @joaniepepin4968

    @joaniepepin4968

    2 жыл бұрын

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

  • @madscience6283
    @madscience62832 жыл бұрын

    Test 2 0:00

  • @mechanicaltimi123
    @mechanicaltimi1232 жыл бұрын

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

  • @madscience6283
    @madscience62832 жыл бұрын

    Test kzread.info/dash/bejne/mmdttZOSecu2htY.html

  • @simmzzzz
    @simmzzzz2 жыл бұрын

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

  • @swagg7109

    @swagg7109

    2 жыл бұрын

    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 Жыл бұрын

    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.