Event Args

Im following the Turn Based Strategy game im trying to show the selected unit but it says
“The type or namespace name ‘EventArgs’ could not be found” Which is weird since im using the exact code i have even tried to copy the project changes. And it still doesnt work.

Make sure you added “using System;” up top. That class EventArgs exists inside the System namespace

Thx i added it in the UnitActionSystem but forgot to add it in the UnitSelectedVisual

Privacy & Terms