Using Interfaces in Game Development (Unity Tutorial)

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

In this video, you'll learn how to use interfaces in Unity3D and Game Development.

#Interfaces #Unity3D #GameDevelopment

The Interface is one of many programming concepts that can be utilized in both Unity3D and Game Development, in general. It's a powerful construct in object-oriented programming that grants you incredible flexibility through something called polymorphism. In this video, Jason Storey will help my alter ego, Barles, refactor his code so that it's more scalable and easier to maintain. Check out my channel, and consider subscribing, for more coding tutorials aimed at Unity3D and game development.

My Favorite Unity Assets 💯⤵️

* Disclosure: These are affiliate links, which means I'll receive a commission if you use them to make a purchase.
Рекомендации по теме
Комментарии
Автор

"just another Prototype that I'll probably never finish"....that hit me right in the feels ....but thanks for the interface revision

QuietSnake-xsvx
Автор

Finally someone explains how Interfaces are actually USED instead of just saying 'iT enFOrcEs a cONtracCT1'
Thanks guys!

josh_swanson
Автор

This whole channel is like blue's clues for programmers, and I mean that in the very best way.

xandercooney
Автор

As far as I could remember (and correct me if I'm wrong), the "I" in the interface is there since the C++ days. This is because they didn't have interfaces, so they used abstract classes with an "I" to denote that they are interfaces and fill in that class with virtual functions (or methods?) only, and ever since it got stuck with us I guess. I personally cannot imagine myself writing an interface without an "I" =P.
Nevertheless, awesome video ;)

happypixls
Автор

My brain collapsed when you said "Hey Jason" instead of "Hey Charles" after answering that call in the beginning of the vid

subliminalcastillo
Автор

I've been struggling to understand interfaces for a while, but this video is the only thing I've come across the really demonstrates to me personally WHY they are useful, and HOW to use them. Really appreciate your channel!!

ewwitsantonio
Автор

Holy s**t. These "skype calls" explanations with an actual problem are by far the best approach to teach others something. Please, keep doing the videos this way because I'm loving it! :D I'm not rich or something but I'll squeeze my wallet a bit to start supporting you and keep this kind of content alive.

saranciuc
Автор

Now we just have to tell Unity to finally implement serialization of interface type for the inspector ^^

alexh
Автор

Wow, I found you through the stream you did, and honestly this is what I was looking for! Very easy to understand and explains the use of interfaces in a unique and creative way. Thanks so much!

Daniel-Mast
Автор

Wow, this showed exactly why Interfaces are useful as opposed to just saying it's a contract that you attach to an object that you have to implement what it tells you. Subscribed!

soulman
Автор

I've been avoiding interfaces because I never got to know how they're actually used.
This was just what I needed. Thanks!

ashmaf
Автор

Absolutely loved the format! Every logical step is being explained without being pedantic or redundant!

rodrigolegendre
Автор

This is EXACTLY what I have been looking for. I know an interface is a contract but seeing the use case help me visualize how to use it. Now I will spend the next 5 hours slamming keys and cussing my old spaghetti code as I rewrite my scripts

rdunajekv
Автор

This is such a cool way of explaining a concept! I've seen countless amounts of unity tutorials till date and the way you guys did it just amazed me. Keep it up guys!

sidhuarya
Автор

Your channel is a lifesaver. I never fully understood interfaces until I watched this video. Every video of yours I've watched has given me so much more insight into concepts I didn't previously understand.

stephenc
Автор

This is the first time interfaces for interactable objects has clicked for me in I don't even know how many tutorials. Thank you!

charlesjames
Автор

This is the most concise and understandable explanation of interfaces out there. Your videos truly are a blessing!

amarduranovic
Автор

Just watched a couple of videos explaining this concept, this one was the best. It not only made clear what interfaces are, but also how to use them. Thanks.

starlitcastle
Автор

Dang, dude. Subscribed after one video. You set the record. I can tell how this channel will be after the production quality, after being straight to the point, being useful, you guys making it entertaining, with no requests to subscribe or littered with advertisements. Wish you all success.

clintanderson
Автор

I know using interface for each object's component but have not thought to use it as Composite like that. Thanks man. You're great!

duylongchau