Download

Where is my service?

Hi there, I just created a derived class from UBTService it compiles OK on VS and with the compile button insid the editor.

But when I right click on my behaviour tree on the editor and search for it, it doesnt show.

The header file looks like this



#pragma once

#include "BehaviorTree/BTService.h"
#include "CheckNearbyEnemyService.generated.h"

/**
 * 
 */
UCLASS()
class NANOTALE_API UCheckNearbyEnemyService : public UBTService
{
    GENERATED_BODY()

    UCheckNearbyEnemyService(const class FObjectInitializer& PCIP);
    /** Se llama en cada update del Service */
    virtual void TickNode(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory, float DeltaSeconds) override;
    
    
};




the header is inside public and the cpp on private and it is included in the CPP in #include "controllers/AIControllerNative.h".