21 lines
400 B
C#
21 lines
400 B
C#
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
namespace AssetStoreTools
|
|
{
|
|
internal abstract class AssetStoreToolsWindow : EditorWindow
|
|
{
|
|
protected abstract string WindowTitle { get; }
|
|
|
|
protected virtual void Init()
|
|
{
|
|
titleContent = new GUIContent(WindowTitle);
|
|
}
|
|
|
|
private void OnEnable()
|
|
{
|
|
Init();
|
|
}
|
|
|
|
}
|
|
} |