Unreal editable config file for package
[codesyntax lang= »cpp »] // Config tag can be added to any UCLASS UCLASS(BlueprintReadOnly, Config=MyConfigFile) class PROJECT_API MyNewClass : public AActor { GENERATED_BODY() public: MyNewClass (); // This will create/read the config file UPROPERTY(Config, BlueprintReadWrite, EditAnywhere) FString MySavedVarToConfigFile = « DefaultValue »; //From anywhere … Lire la suite