hello my dear friends
I simply made a class from editor and named it ATeleportSource
after that when i want to make a pointer variable of it in my character class the cimpiler raised
Error 1 error C2065: ‘ATeleportSource’ : undeclared identifier
i tried to include this class header in my character class cpp file like this
#include "TeleportSource.h"
and after that this error raised from compiler
Error 1 error C2220: warning treated as error - no ‘object’ file generated
this the code of constructor of my character class
ATwelveGMCharacter::ATwelveGMCharacter(const class FPostConstructInitializeProperties& PCIP)
: Super(PCIP)
{
ATeleportSource* testSource;
...
any help appreciated