[Unity Coding Tutorial] An Intro To Event Systems - Creating Universal Object Interactions w/ Events

preview_player
Показать описание
#coding #gamedev #indie #tutorial #unity #indiegame #learn

In this tutorial, we go through the process of creating Universal Object Interactions using C#'s Event Systems.

-

Licensed under Creative Commons: By Attribution 4.0 License

Licensed under Creative Commons: By Attribution 4.0 License
Рекомендации по теме
Комментарии
Автор

hi! i dont know if you need to hear this but your tutorials are one of the best things ive seen in this community, simple and easy to understand, your voice is nice to listen to and you are great at coding. Keep it up!

looki
Автор

i am using interface for intreact with objects, glad to gain some new knowledge from yor channel

Abdulwahab-vbhe
Автор

Amazing! This kind of information is hard to find, glad I came across your channel. You make good design paradigms accessible.

DevChancey
Автор

This is one of the best game dev channels I've found. Super concise, great visuals, amazing explanations.

CarmenXero
Автор

Great content and very useful, thanks!

imbcoffee
Автор

Can’t you use an interface to achieve the Interactable behavior?

drewboardman
Автор

Thanks for your effort on this. One thing I generally have dependency problems is, Once your interaction also affects your player, too. You need to call for example when we want to do to player when chest is interacted. That is feel like holding your right ear with your left hand by putting your hand above your head. Its like;
Player calls Interact method, Chest implements it, chest calls player's reaction to chest. How do you handle mutual interactions like that by both interactor and interacted object is affected?

TheKrckeR
Автор

This video makes me think I'm out of my depth. Very interesting and I see the use for it, but damn if it isn't complicated

MrLingon
Автор

great content but you really gotta zoom in on that text-- it is unreadable and there is so much wasted space.

tst
Автор

Thanks! BTW - if you created that bit mask / shifting example yourself, that must have taken forever to create, pretty nice! :)

ss
Автор

OK one more comment - is there any reason to start the Interact class with creating the "interact" InteractEvent? It seems we only ever use the "GetInteractEvent" which in itself creates an "InteractEvent". What am I missing?

MrLingon
Автор

Hi great video, I had a question about the interact monobehaviour class. Could you elaborate on why we need the get functions of type InteractEvent like GetInteractEvent? Sorry if its a dumb question im new to this concept.

muhammadawaiskhan
Автор

yo, this is really god, but is there any way to apply it to 2D? ive been trying so many things to get my player to register a object colider but it just doesnt work out, and with other methods i can open a interface but just once, when i want to be able to acces that interface multiple times, close it and re open as much as the player needs it, sort of a upgrading table in ultrakill, or the shadow mirror in hades

madude
Автор

I think this is so complicated, I'd rather use inheritance and a virtual function that could be overrode by every different type of interactable objects

KhalilAKM