Godot Signals - C#

preview_player
Показать описание
Everything worth knowing about signals in Godot with a C# flair.

00:00 Intro
00:36 What are Signals?
01:22 Utilizing Signals
03:30 Interacting with Signals
16:53 Demystifying Signals
18:49 Custom Signals
24:16 Outro

==========================================================================
==========================================================================

==========================================================================

#godot #signals #csharp #beginner #novice #howto #tutorial #explanation
Рекомендации по теме
Комментарии
Автор

Honestly if it wasn't for your videos I would've given up on Godot forever ago. THANK YOU!

You are like the only person on YouTube doing Godot C# tutorials

quentinediting
Автор

You have a real talent for teaching, this was excellent thank you

moroastray
Автор

You know, I have a degree in game programming and a good amount of experience in Unity, Unreal, and now diving into Godot.

And events/signals have always been something I personally took a long time to wrap my head around. But man, if a professor would have explained them like this back in school, I probably would have had a much easier time. Lmao.

aphemra
Автор

Best signals guide for godot C# i've seen so far. Thank you!

Rednake
Автор

I love how simple and straight forward you present this. I've seen so many videos when I was learning about events back in the day that got into the weeds rather then showing simple use case examples first to get people comfortable with it. Because of that events were this confusing black box for way too long for me. I wish I had seen a video like this on events back then. Great job!

alapidis
Автор

You explain things very clearly and with examples, I appreciate it

szu
Автор

You sir are a gem! I love you, consider me your newest subscriber. I can't wait to receive a new notification from your channel!

DehkiaSK
Автор

This process is very unclear in the docs
it's very helpful, thanks!

kauuanxD
Автор

this helped me so much wow i was so stuck all day trying to send the fruit count from my player to a gui element lol

Verion
Автор

I like it how you have a drawing on the whiteboard on each frame and video, love your efforts

bombrman
Автор

Excellent video, you have a good teaching style.

JustifiedSoftworks
Автор

Your videos are a god-send. I love every single one. Keep up the great job.

imbafrog
Автор

I was looking forward to this video, it helped so much, thank you! I'm not 100% there on how the syntax is working with how you've explained the delegated functions though. In the context of the timer code you made at 12:00, is _timer.Timeout accessing a list of methods in the _timer object then, and adding to that?

patch
Автор

I suspect that emitting a Godot signal involves a P/Invoke behind the scenes, is that correct to your knowledge?

stevendorries
Автор

Is there a way to use C# events and have them show up in the Godot UI?

michaelkimball
Автор

northBox.BodyEntered += OnNorthBoxBodyEntered;
northBox.BodyExited += OnBodyExited;

how you said i should do it vs how i was doing

southBox.Connect("body_entered", new Callable(this,
southBox.Connect("body_exited", new Callable(this, nameof(OnBodyExited)));

pretty wild one is alot easier to use yet the docs tell us to do it another way. Ill be looking forward on your Events video.

Frazer
Автор

does this work in scripts where the thing you wanna emit is a child of the node? For example i have a tranisiton scene, that has a child animationplayer, im trying to emit a signal when the animation finished playing. In the ready of the transition scene i cannot do

private AnimationPlayer animationPlayer;

public override void _Ready()
{
animationPlayer =
+= OnAnimationFinish;
} i get an error stating no overload for OnAnimationfinish(string) matches delegate
im forced to do animationPlayer.Connect("animation_finished", new Callable(this, nameof(OnAnimationFinish)));

Frazer