public void SelectItemUpdate()
 {
     if (m_currentPlatform != null && m_currentPlatform.buildTargetGroup != P.i.selectBuildTargetGroup)
     {
         m_currentPlatform = null;
     }
     if (m_currentPlatform == null)
     {
         m_currentPlatform = P.GetSelectPlatform();
         //BMS.i.platformList.Add( m_currentPlatform );
     }
     if (m_currentPlatform.parameters.Count == 0)
     {
         m_currentPlatform.AddParams("Debug");
         m_currentPlatform.AddParams("Release");
         m_currentPlatform.AddParams("Master");
         s_changed = true;
     }
     if (P.i.selectParamsIndex < 0)
     {
         P.i.selectParamsIndex = 0;
     }
     else if (m_currentPlatform.parameters.Count <= P.i.selectParamsIndex)
     {
         P.i.selectParamsIndex = m_currentPlatform.parameters.Count - 1;
     }
 }
        //public void Reinit() => Init();

        public void Init()
        {
            s_window = this;

            P.Load();
            m_currentPlatform = null;

            m_supportBuildTarget = PlatformUtils.GetSupportList();

            _enableAssetBundle = EditorHelper.HasMenuItem(Window_AssetBundle_Browser);
            _enableBuildReport = EditorHelper.HasMenuItem(Window_Show_Build_Report);


            MakeDrawBuildTarget();
            OnFocus();
        }