-
-
Save noakesey/bb0de791ffae41ce6d8c4bf89e7b3ead to your computer and use it in GitHub Desktop.
Subscribe to a multicast delegate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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