Questions tagged [delegates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
35 views

How to make a Multicast Delegates in Blueprint?

I used the Set Timer by Event, but I could not use the delegate in more than one event: I've been researching about and it's possible, but I've only found results in c ++: https://docs.unrealengine....
0
votes
0answers
211 views

Unity: How to use delegates with EventManager ? and use variable number of arguments in listenners?

As answered here, I would like to know how to implement an EventManager with delegate instead of UnityAction for pass arguments. I tried but I did not succeed. Also, can someone tell me if it's a ...
1
vote
1answer
73 views

Is there any way to use events without breaking class and component separation?

I just started using events, and got stuck a little. I have a problem with the following code: ...
4
votes
2answers
221 views

Have a method accept generic methods for a in-game console

I'm making a console, like in Half-Life so that the devs can add their commands. I'm making this in Unity's C#. I have a problem when dealing with the commands. When you want to add a commands, you ...
2
votes
2answers
1k views

In Unity, does a reference delegate clear out when its parent GameObject is destroyed?

If I have a GameObject with a component like some: ...
0
votes
1answer
2k views

Unity/C# : How to execute a function after another function has finished its execution?

I've been trying to build a "event system" for a project that I'm working on . Here is how I'm doing it : I populate a list with reference to a gameObject and the functions that I need to execute from ...