Adding an Action with no type does not compile

The ServerOnGameOver event is throwing a compiler error on declaration and says the “event must be of a delegate type”.

My declaration is exactly the same as in the commit posted for this lecture.

Issue has been found - I needed to disambiguate (by declaring System.Action) as there is another Action class I made for the AI in this course

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms