I am making a NPC using C++. I am making a Enum class to check what the State of NPC is(Passive, attacking, dead, etc). Now I am making a blackboard key of enum key type but in enum type dropdown I cant see my c++ enum class. Also its a none class where i am making the enum and now its not showing in editor c++ classes folder but it is showing in visual studio.
Here’s the Enum class
#pragma once
include “CoreMinimal.h”
include “AIState.generated.h”
UENUM(BlueprintType)
enum class E_AIState : uint8
{
None UMETA(DisplayName = “None”),
Passive UMETA(DisplayName = “Passive”),
Attack UMETA(DisplayName = “Attack”),
Investigating UMETA(DisplayName = “Investigating”),
Frozen UMETA(DisplayName = “Frozen”),
Dead UMETA(DisplayName = “Dead”)
};
I also done thing like rebuilding files and also when i am making any variable in other class i am able to use this eunm