canto/Assets/Scripts/Editor/PropertyDrawers/SceneAssetPropertyDrawer.cs
2025-08-16 16:17:16 -04:00

14 lines
366 B
C#

using UnityEditor;
using UnityEngine;
namespace KitsuneCafe.Editor
{
// [CustomPropertyDrawer(typeof(SceneAsset))]
public class SceneAssetPropertyDrawer : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
EditorGUI.ObjectField(position, property, typeof(SceneAsset), label);
}
}
}