I am trying to add a new C++ header to my game, but when I generate Visual Studio files it doesn’t generate the AnimNode_weapon.generated.h file.
The code of the file is:
//AnimNode_weapon.h
#pragma once
#include "Runtime\Engine\Classes\Animation\AnimNodeBase.h"
#include "AnimNode_weapon.generated.h"
USTRUCT()
struct FAnimNode_weapon : public FAnimNode_Base {
GENERATED_BODY()
FAnimNode_weapon();
};
What I have trying:
1 Put this file in the source direcotry.
2 Delete the bin and Intermediate folders.
3 Right click on the project and Generate Visual Studio project files.