10 lines
349 B
Python
10 lines
349 B
Python
import os
|
|
import runpy
|
|
import unreal
|
|
|
|
|
|
if os.environ.get("LED_VOLUME_CREATE_RC_PRESET") == "1":
|
|
project_dir = unreal.Paths.project_dir()
|
|
script_path = os.path.join(project_dir, "Scripts", "CreateLedVolumeRemotePreset.py")
|
|
unreal.log(f"LED volume startup preset build: {script_path}")
|
|
runpy.run_path(script_path, run_name="__main__")
|