I have this: public event Action<BaseCommodity> OnGatherActionSelected = delegate { }; gmp.OnGatherActionSelected += m_Worker.CharacterActions.StartGatherMaterials; // << takes a parameter but now i want to use the event to call a method which takes 0 parameters gmp.OnGatherActionSelected += ParentPanel.RedrawUI; // does not take parameters .. DOES NOT WORK :( how can i do this?
The post System.Action delegate ignore parameter? appeared first on BlogoSfera.