SCRIPTABLE OBJECTS in Unity

SCRIPTABLE OBJECTS in Unity

Brackeys

6 лет назад

998,433 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Alfredo Gomes (Área da Programação)
Alfredo Gomes (Área da Programação) - 28.08.2023 11:24

Porque esse vídeo está em português?

Ответить
Amazeing Games
Amazeing Games - 26.07.2023 05:36

The days when Edwin was a 3/2. Absolutely broken

Ответить
Onan
Onan - 20.07.2023 18:27

bruh

Ответить
Bublet
Bublet - 13.07.2023 20:21

oh my god this is a lifesaver

Ответить
Butterbrot
Butterbrot - 07.07.2023 17:43

and another time the Unity god safed me 100 hours of my life :D

Ответить
RH
RH - 22.06.2023 00:12

oh thats cool

Ответить
babs
babs - 15.06.2023 21:02

now I haven't gotten to the point of development to the point were I would need todo stuff like this but I know this will come in handy later

Ответить
Rollbaa
Rollbaa - 12.06.2023 09:50

Great, now i can make a better Hearthstone Clone. Stay tuned folks :)

Ответить
Elom
Elom - 25.05.2023 16:24

Very good explanations ! Thanks.

Ответить
The Queen
The Queen - 24.05.2023 11:00

Everyone coming back to this video still missing Brackeys, I know your pain.

Ответить
Mehmet Soykan Mutlu
Mehmet Soykan Mutlu - 19.05.2023 11:19

You're an absolute beast man

Ответить
Shadrake
Shadrake - 24.04.2023 17:24

Thank you! This was really helpful!

Ответить
Marcelo Henrique
Marcelo Henrique - 17.04.2023 23:59

the goat.

Ответить
quotenalpha
quotenalpha - 16.04.2023 13:29

I was breaking my head about how i can create cards in unity as objects, this helps so much. Thank you!

Ответить
Colin McIntyre
Colin McIntyre - 21.03.2023 18:27

It took me a year to get to this. Thank you for being so far ahead of me please keep uploading so I can't keep trying to catch up 😂❤.

Ответить
ike muoma
ike muoma - 24.02.2023 11:57

An excellent tutorial. Easy to follow. One of the best explanations I've seen on the topic of scriptable objects. 👍

Ответить
breadbard
breadbard - 15.02.2023 02:05

A classic tutorial from a classic channel in game development.

Ответить
Александр Клеников
Александр Клеников - 09.02.2023 19:25

i dont get it/ why u need scriptable object? u still need to make card prefab or even couple card prefabs for different cards to avoid changing scriptable object while adding card to the scene

Ответить
valentin königshofer
valentin königshofer - 04.02.2023 21:58

Edwin is the worst

Ответить
Matt Majcan
Matt Majcan - 28.01.2023 13:29

no matter what when i create the scriptable object it just tells me that it doesnt have a script asset. well i dont know how i created it then.

Ответить
Steve Brooks
Steve Brooks - 15.01.2023 14:27

Great tutorial, those curly braces not being on separate lines drives me absolutely crazy though!!

Ответить
D.
D. - 12.01.2023 02:16

I don't understand how this is useful in a game if anyone can explain. You now have a method that can display a single card. There might be 100s of cards in your game. He says you can swap the cards out during the game, but doesn't actually show how!

Ответить
Arelias
Arelias - 09.01.2023 07:00

What about procedural data and creation at runtime, for random loot. All the things you've shown don't seem to make a difference when you gotta create data at runtime, but maybe I'm just missing something...

Ответить
No Celebrity
No Celebrity - 03.01.2023 19:27

This tutorial works (**finally**) but the solution to a persistent error I was getting was to make extensions lowercase.

Autocorrect or Autocomplete affected code in VS Code by changing "nameText.text" into "nameText.Text," and was changing "artworkImage.sprite" into "artworkImage.Sprite."

Then Unity wasn't compiling as a result of the autocorrect/autocomplete changes.

Thank you for setting me on the right track with this! I did not want to have to hard-code literally everything just to get a few cards to show up on my screen.

Ответить
SpammerX
SpammerX - 29.12.2022 16:59

praise the coder jesus

Ответить
for education
for education - 26.12.2022 17:23

still, this is the best video on scriptable objects in unity for beginners.

Ответить
Fulgence Junior Lohore
Fulgence Junior Lohore - 19.12.2022 05:06

Amazing tutorial!!! Simple and Useful!!!

Ответить
Gamer Zone Lab
Gamer Zone Lab - 13.12.2022 02:49

We miss you so much Brackeys! 2022

Ответить
frs walid
frs walid - 12.12.2022 08:14

ak papi idr ak papi udr

Ответить
Path
Path - 09.12.2022 19:26

I give a thumbs down every time he edits in a clip of himself laughing at his own jokes and thinking it's cute.

Ответить
moonasha
moonasha - 05.12.2022 04:01

so it's literally just a basic c# script but you can set variables in the editor, like a monobehavior, but unlike a monobehavior you can create it without instantiating it. interesting.

Ответить
Younes Mdarhri Alaoui
Younes Mdarhri Alaoui - 13.11.2022 03:45

What if the card have has an effect and not just some stats? For example the card is a spell which draws two cards. Do I have to repeat and code every single card's effect? help please!

Ответить
Younes Mdarhri Alaoui
Younes Mdarhri Alaoui - 12.11.2022 22:10

I love you <3

Ответить
Timithius 78
Timithius 78 - 01.11.2022 06:58

Now THAT, is how to make a tutorial. Complete from concept/UI to usage at runtime. Brackeys == theBaddestGuyInTown

Ответить
vatlot
vatlot - 31.10.2022 10:54

Make Scriptable Template > Make Scriptable Object out of It, make a Prefab or Scene Object Template > Make a Script and Reference the Scriptable Object > Populate the Data!

Ответить
ravioli
ravioli - 26.10.2022 23:53

you are my god

Ответить
Galilée Mason
Galilée Mason - 20.10.2022 12:52

For anyone wondering, you can also reference text mesh pro objetcs (with "using TMPro;") then declaring the text as TMP_Text instead of Text;

Ответить
Galilée Mason
Galilée Mason - 20.10.2022 11:13

Brackey so many years after, you’re still saving my life (currently building a card/ only ui game) THANK YOU

Ответить
wearwolf420
wearwolf420 - 18.10.2022 16:13

This is great but how do i use it for ui images in a list? For some reason i cannot access the image component on the Scriotable Object to randomly show the image like in a lotery.

Ответить
Tiff_D
Tiff_D - 05.10.2022 05:31

wow this is so broken thank you so much :)

Ответить
vitor estevam
vitor estevam - 14.09.2022 18:49

Can I use this for some kind of Flyweight pattern or the card object is being cloned for each object using it?

Ответить
Kevin Goehler, GameDev
Kevin Goehler, GameDev - 05.09.2022 00:47

Asbjørn, your tutorials are still the top grade, even now, several years after you've stopped. 😊

Ответить
Different Dimension Duelist (D.D.D.)
Different Dimension Duelist (D.D.D.) - 03.09.2022 23:46

Amazing video :). Also helps me understand scripting when in the context of games lol

Ответить
stb NY444
stb NY444 - 01.09.2022 04:57

I really don't see how it's different than just making a prefab for each card.

Ответить
Rahat Shah
Rahat Shah - 31.08.2022 08:14

awesome

Ответить
Mende Dimitri
Mende Dimitri - 02.08.2022 11:52

thanks a lot for this tutorial

Ответить