public static SceneMenuSettingsWindow Open() { if (!s_intance) { s_intance = CreateInstance <SceneMenuSettingsWindow>(); s_intance.ShowUtility(); } return(s_intance); }
//------------------------------------------------------ // unity system function //------------------------------------------------------ void OnEnable() { s_intance = this; // 表示状態で生成モード切替挟んだ時の対応 titleContent = new GUIContent("SceneMenu設定"); m_labelStyle = EditorGUIUtility.GetBuiltinSkin(EditorSkin.Scene).FindStyle("Hi Label"); m_origin = SceneMenuSettings.Load(); Revert(); }