How can I override OnJumped()?
How can one override OnJumped()? Every time all I get is this error:
"method with override specifier 'override' did not override any base class methods"
Any UFUNCTION that has BlueprintNativeEvent, has to be overridden using [MethodName]_Implementation() as the name of the function in C++. So for you it's OnJumped_Implementation(). This is done so that the method is overridable in Blueprints or in C++.
answered Jun 15 '14 at 11:03 PM
Nick Darnell ♦♦ STAFF
also note, that if you want to call Super class method from inside the override in your new class, you should do it this way:
if instead you invoke just "Super::foo()", it will compile but throw a nasty runtime error.
answered Apr 26 '17 at 05:40 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here