You have to use a delegate to get that to work. If you make the delegate a public variable, you should be able to just call DelegateName.Bind( callback ). Look here: Delegates | Unreal Engine Documentation
You have to use a delegate to get that to work. If you make the delegate a public variable, you should be able to just call DelegateName.Bind( callback ). Look here: Delegates | Unreal Engine Documentation