I’m getting 3 errors after moving a function to public , but the errors are for different line:
error C2143: syntax error: missing ‘;’ before ‘*’
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2238: unexpected token(s) preceding ‘;’
My projectile.h:
UProjectileMovementComponent* MovementComp;
edit:sorry for the formatting , but the code block seems to not be working, I moved the code sample to pastebin