コード例 #1
0
 private void OnEnable()
 {
     if (!m_StateEditorWindow)
     {
         m_StateEditorWindow = (stateEditor)EditorWindow.GetWindow(typeof(stateEditor), true, "Artimech");
         m_StateEditorWindow.Show();
     }
 }
コード例 #2
0
        private void OnEnable()
        {
            stateEditor window = (stateEditor)EditorWindow.GetWindow(typeof(stateEditor), true, "Artimech");

            window.Show();
        }