Announcement

Collapse
No announcement yet.

Advice on proper use of an event dispatcher?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Advice on proper use of an event dispatcher?

    So my knowledge of using an event dispatcher seems to be completely inadequate. I've tried doing some research on the subject, but I can't seem to wrap my mind around the thought process. Basically what I'm attempting to do in this scenario, is press a button on one widget, have it close, and open a separate widget hidden behind it. I attempted to do this by binding the UI button to a custom event, then calling it through an event dispatcher. But it just throws an error (apparently my comprehension sucks) also, how would you call a cast to such an event without returning a null reference?
    Attached Files
Working...
X