This commit is contained in:
2025-02-19 17:24:26 +09:00
commit b6e88274e8
8796 changed files with 1728296 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using UnityEngine;
using UnityEditor;
namespace RTG.Editor
{
[CustomEditor(typeof(RTScene))]
public class RTSceneInspector : UnityEditor.Editor
{
private RTScene _scene;
public override void OnInspectorGUI()
{
_scene.Settings.RenderEditorGUI(_scene);
}
private void OnEnable()
{
_scene = target as RTScene;
_scene.Settings.FoldoutLabel = "Settings";
_scene.Settings.UsesFoldout = true;
}
}
}