Skip to main content

Questions tagged [delegates]

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

I have multiple different classes which need to perform the same complex operation So to keep my code dry, I'm using a manager object which requires a delegate for the complex operation Here's a ...
Manas R. Makde's user avatar
0 votes
1 answer
91 views

I am trying to make a dialogue system in Unity by following this tutorial: (29) 5 Minute DIALOGUE SYSTEM in UNITY Tutorial - YouTube. There is a slight twist to this and that is that I am triggering ...
Akshit Chaturvedi's user avatar
0 votes
2 answers
823 views

Note: I have two Managers: First one creates 2d block upon click. The other one, upon click, grabs a block for dragging. The reason I need them to run in specific order is because newly created block ...
hungry91's user avatar
0 votes
1 answer
472 views

I'm a bit stuck on a delegate error in Unity. The code works fine if I'm in a c# console app however Unity is giving me the error: Cannot convert lambda expression to type 'IObserver' because it is ...
Willie Wight's user avatar
0 votes
0 answers
60 views

I need to map Button to Event, seeing as Unreal does not allow me to call premade events (in this situation, ...
Natalo77's user avatar
  • 709
0 votes
1 answer
499 views

I am having problem and it's about a week now that I still can't figure out how to get it right. It seems that I can't run any functions from the blueprints that contain timers at all. I have a ...
Mira's user avatar
  • 139
0 votes
0 answers
1k views

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....
Boneco Sinforoso's user avatar
0 votes
0 answers
313 views

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 ...
hexaJer's user avatar
  • 131
1 vote
1 answer
152 views

I just started using events, and got stuck a little. I have a problem with the following code: ...
Daniyal Azram's user avatar
3 votes
2 answers
298 views

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 ...
Jallrich's user avatar
  • 193
4 votes
2 answers
4k views

If I have a GameObject with a component like some: ...
meds's user avatar
  • 1,480
1 vote
1 answer
5k views

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 ...
Francisco M.'s user avatar