So far, the delegates that we've used haven't taken any input parameters. This recipe shows you how to change the signature of the delegate so that it accepts some input.
Creating a delegate that takes input parameters
Getting ready
Ensure that you followed the recipe at the beginning of this chapter, which showed you how to create a TriggerVolume and the other infrastructure that we require for this recipe.
How to do it...
- Add a new delegate declaration to GameMode:
DECLARE_DELEGATE(FStandardDelegateSignature)
DECLARE_DELEGATE_OneParam(FParamDelegateSignature...