The Attributes that [SaveTime] - Unity3D - GameDev

preview_player
Показать описание

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.

Рекомендации по теме
Комментарии
Автор

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

Ninja-Dev
Автор

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

bomdiajj
Автор

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

Havie
Автор

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

justinwhite
Автор

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!

joaniepepin
Автор

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

kylenissen
Автор

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.

mcgeufer
Автор

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

mira
Автор

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

justinanderson
Автор

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

_ian_
Автор

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

mykaelboyte-coutu
Автор

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.

ChrisBrown-cuhx
Автор

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?

ramonalexferreira
Автор

I hope I fall into the pit of success.

StygianStyle
Автор

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

MasterArrow
Автор

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

tienshido
Автор

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

mechanicaltimi
Автор

Great video! Very well explained and demonstrated.

Rovsau
Автор

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

tienshido
Автор

very informative video Thanks Mr Jason

supertenchoo