How to require passed delegate invocation before function exit?
Over years of game development, I’ve found a common pattern to follow is to hand a function a delegate that it must execute upon completion of whatever that function needs to do, like a callback function that aught to be invoked before a method exits.
How to deal with non-initialized delegate fields?
In this situation:
How to invoke methods with arguments for any return and argument type?
I’m developing a scripting engine for an embedded system automation project. One requirement to accomplish this is to store instructions sequentially to be run later. The project also has to be in C#.