Recursive calling of ObjectExporters from a SceneExporter, icons

This commit is contained in:
2025-01-13 19:59:41 +01:00
commit d1c734f078
23 changed files with 1105 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using UnityEngine;
using UnityEditor;
using PSXSplash.Runtime;
[CustomEditor(typeof(PSXObjectExporter))]
public class PSXObjectExporterEditor : Editor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
DrawDefaultInspector();
PSXObjectExporter comp = (PSXObjectExporter)target;
if (GUILayout.Button("Export"))
{
comp.Export();
}
}
}