IdleGirl/Assets/Plugins/Editor/RelationsInspector/RelationsInspectorMenuItem.cs

12 lines
248 B
C#
Raw Normal View History

using UnityEditor;
using RelationsInspector;
public class RelationsInspectorMenuItem
{
[MenuItem("Window/RelationsInspector")]
static void SpawnWindow()
{
EditorWindow.GetWindow<RelationsInspectorWindow>("Relations", typeof(SceneView));
}
}