I have the following code:
EventDelegate.Add(popup.onChange,onPopupChanged,false);
public void onPopupChanged()
{
Debug.Log("onChanged callled");
}
1. In the onPopupChanged(), I would like to get the reference to the popup Go.
2. Is there a way to send some parameters to the call back function when the onChange happens ?
Perhaps this is not a proper use of EventDelegate. So my question is how can I achieve the above 2 items when the popupList changes.