Skip to content

Instantly share code, notes, and snippets.

@noakesey
Created December 14, 2018 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noakesey/bb0de791ffae41ce6d8c4bf89e7b3ead to your computer and use it in GitHub Desktop.
Save noakesey/bb0de791ffae41ce6d8c4bf89e7b3ead to your computer and use it in GitHub Desktop.
Subscribe to a multicast delegate
[SubscribesTo(classStr(MyDelegateClass) delegateStr(MyDelegateClass, myDelegate))]
public static void delegateExample_myDelegate(real a, real b, EventHandlerResult result)
{
real total = a+b;
result.result(total);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment