General function library plugin for Unreal Engine 4.
- Download the plugin you want from the repository
- Ensure your project is a c++ project (Make a c++ class to convert it)
- Copy the plugin folder into the 'Plugins' folder of your project (Make the folder if it doesnt exist)
- You can now use it
You can use the functions from the plugin by searching in the "blueprint browser" ( right click while you are in a blueprint graph ) for "FileManager".
The functions below are subject to changes and are currently in WIP
Note : 'FileName' is relative to the project directory, 'FilePath' or 'FullDir' are full paths.
ReadText : read the text content of a specified file
WriteText : write text content into a specified file
WriteTextLines : write an array of lines into a specified file. A new-line char is placed inbetween each line
CreateFile : create a file with empty content
ListFilesInDir : find all the files under a specified directory with the specified extension, returns an array of file names
DoesDirExist : check if a directory exists (full path)
DoesFileExist : check if a file exists (full path)
This plugin was designed for Unreal Engine 4.27
It can be used with UE 4.26