Unreal Python script editor
Unreal doesn’t has a native Python script editor.
You can download the script editor as an Unreal plugin here: https://github.com/hannesdelbeke/unrealScriptEditor-plugin
Since it’s pure Python it should work in all Unreal versions.
Planning
planning notes from before contributing to the tool
pyqt5¶
plugin¶
setup the script editor as a unreal plugin
- auto install dependencies through pip.
- installing dependencies can be done inside the plugin, similar to the plugget blender addon
- Or we can use plugget or pip to handle the deps
tkinter¶
- we could use
tkinter
, which ships with in unreal. - this page covers various basics & how to make a tkinter text editor
import tkinter as tk window = tk.Tk() greeting = tk.Label(text="Hello, Tkinter") greeting.pack() window.mainloop()
see tkinter in unreal gist
other¶
The script editor could be dcc independent. E.g. a generic qt widget
The startup code creates a Unreal editor button