Advertisement
orfeasel

Delegate functions implementations

Feb 4th, 2016
19,101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.48 KB | None | 0 0
  1. void ADelegateActor::IntFunction(int32 x)
  2. {
  3.     GLog->Log("Output from IntFunction: " + FString::FromInt(x));
  4. }
  5.  
  6. void ADelegateActor::SecondIntFunction(int32 x)
  7. {
  8.     GLog->Log("Output from SecondIntFunction: " + FString::FromInt(x*2));
  9. }
  10.  
  11. void ADelegateActor::ThirdIntFunction(int32 x)
  12. {
  13.     //x to square
  14.     float power = FMath::Pow(x, 2);
  15.     GLog->Log("Third Int Function: "+FString::SanitizeFloat(power));
  16. }
  17.  
  18. void ADelegateActor::SomeFunction()
  19. {
  20.     GLog->Log("Some function log");
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement