2026-03-26 10:49:41 +08:00
|
|
|
using UnityEditor;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace AlicizaX
|
|
|
|
|
{
|
|
|
|
|
[CustomEditor(typeof(PoolConfigScriptableObject))]
|
|
|
|
|
public sealed class PoolConfigScriptableObjectEditor : UnityEditor.Editor
|
|
|
|
|
{
|
|
|
|
|
public override void OnInspectorGUI()
|
|
|
|
|
{
|
2026-04-17 21:01:20 +08:00
|
|
|
if (GUILayout.Button("Open Editor", GUILayout.Width(160f), GUILayout.Height(28f)))
|
2026-03-26 10:49:41 +08:00
|
|
|
{
|
2026-04-17 21:01:20 +08:00
|
|
|
PoolConfigEditorWindow.Open((PoolConfigScriptableObject)target);
|
2026-03-26 10:49:41 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|