This commit is contained in:
SoulliesOfficial
2025-06-06 10:14:55 -04:00
parent d4e860fa16
commit db4d131192
1088 changed files with 45704 additions and 2260 deletions

View File

@@ -0,0 +1,40 @@
namespace Dreamteck.Splines.Editor
{
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class SplineUserSubEditor
{
protected string title = "";
protected SplineUser user;
protected SplineUserEditor editor = null;
public bool alwaysOpen = false;
public bool isOpen
{
get { return foldout || alwaysOpen; }
}
bool foldout = false;
public SplineUserSubEditor(SplineUser user, SplineUserEditor editor)
{
this.editor = editor;
this.user = user;
}
public virtual void DrawInspector()
{
if (!alwaysOpen)
{
foldout = EditorGUILayout.Foldout(foldout, title);
}
}
public virtual void DrawScene()
{
}
}
}