How can I use the Tick () function in my class that inherits from the class ACharacter? When you try to declare a function, it gives me an error.
Make sure that it’s public, and is declared like this
In the .h:
public: virtual void Tick( float DeltaTime ) override;
In the .cpp:
void YourClassName::Tick( float DeltaTime ) { Super::Tick( DeltaTime ); }
Thank you very much, it worked. I have copied the wrong parameters of the function. Thank you.