Thanks man is exactly what i’v wanted to know !
Edit : I’v just noticed that while in edit and getting into the “Add code to project” window, they have there " add blueprint function library". and after clicking on it it creates :
Heaher (MyBlueprintFunctionLibrary.h) :
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Kismet/BlueprintFunctionLibrary.h"
#include "MyBlueprintFunctionLibrary.generated.h"
/**
*
*/
UCLASS()
class MYPROJECT5_API UMyBlueprintFunctionLibrary : public UBlueprintFunctionLibrary
{
GENERATED_UCLASS_BODY()
};
Source ( MyBlueprintFunctionLibrary.cpp ) :
// Fill out your copyright notice in the Description page of Project Settings.
#include "MyProject5.h"
#include "MyBlueprintFunctionLibrary.h"
UMyBlueprintFunctionLibrary::UMyBlueprintFunctionLibrary(const class FPostConstructInitializeProperties& PCIP)
: Super(PCIP)
{
}
I didn’t check how it is working yet but i guess is an other good example too.