So, I’ve got this widget for selecting challenges. One half of the panel is a scrollbox containing an arbitrary number of ‘challenge buttons’ custom widgets. The other half contains info about the currently selected challenge. So when a button is pushed on the left, its relevant info is displayed on the right.
your idea is fine, its likely just a bad reference (IsChallengeRefValid) or bad order problem (Does it bind after already being called).
it might be easy to centralize it all, the buttons call events on its parent (challenge menu) and the info binds to the challenge menu events) otherwise you have to bind to each button
Does the reference have to be to specific instances (I.E. do I have to bind the event to each and every button in like, a for loop?) I was under the impression you didn’t have to store references with EDs but I think thats incorrect.