A few years ago I was learning Unity, where it was possible to create scripts that you could run inside the editor itself, and not within runtime. Is this also possible in Unreal?
For example:
I’m working with lots of video files for this project.
Currently, when I want to bring in a video file, I have to do these steps each time:
- Import the video file – it comes in as a Media Player.
- Right click and choose Create Media Texture
- Right click the Media Texture and choose Create Material
- Double click the Material and move the Texture Sample output from Base Color to Emissive Color
I then have a certain amount of metadata associated with each video, so I have created a Blueprint called Video_File so that I can assign various variables (Theme_Tags, Favourite, Already_Played etc.)
Since I am working with hundreds of videos, I’m trying to find out if there is a way to streamline/script this process.
Ideally, I would like a script that could read a data file (perhaps imported into a Data Table via CSV), which could include file system paths to the video files on drive, which would automate all these steps.
I’m pretty sure this would be possible in Unity, but I’m having trouble figuring out how to do it in Unreal – all Blueprint scripts seem designed to run once the game has actually started, which is of no use. I’m looking to be able to run scripts that are helpful for creating the content for the game within the editor.
Anyone know how this can be done?
Thanks!