public void SellSelectItem_ONCLICK()
        {
            CommonUIButtonFunction("UI_Button_Click1", "SellSelectItem_ONCLICK()");
            UIManagerDirector manager_director = new UIManagerDirector(new ShopManager());

            manager_director.GetSelect();
            manager_director.GetSelectList();
        }
        public void SelectPartyMode_ONCLICK()
        {
            CommonUIButtonFunction("UI_Button_Click1", "AddUnitToParty_ONCLICK()");
            //PartyManagerDirector party_manager_director = new PartyManagerDirector(new HeroPartyManager());
            //party_manager_director.GetSelectParty();
            //party_manager_director.GetUnitList();
            UIManagerDirector party_manager_director = new UIManagerDirector(new HeroPartyManager());

            party_manager_director.GetSelect();
            party_manager_director.GetSelectList();
        }
        public void ShowUnitListOnParty_ONCLICK()
        {
            CommonUIButtonFunction("UI_Button_Click1", "ShowUnitListOnParty_ONCLICK()");
            UIManagerDirector party_manager_director = new UIManagerDirector(new HeroPartyManager());

            party_manager_director.GetSelectOne();
            party_manager_director.SetSelectUI();

            ShowUIWindow("HeroUnitListWindow");
            HideUIWindow("DebugHeroPartyWindow");
        }
 /// <summary>
 /// @param index
 /// </summary>
 public override void ClickButtonAction(int index)
 {
     if (!is_director_select)
     {
         HeroPartyButton button = Buttons[index].GetComponent <HeroPartyButton>();
         button.ToggleSelect();
         button.SetButtonText();
     }
     else
     {
         UIManagerDirector party_manager_director = new UIManagerDirector(new HeroPartyManager());
         HeroPartyButton   button = Buttons[index].GetComponent <HeroPartyButton>();
         button.ToggleSelect();
         party_manager_director.GetSelectOne();
         party_manager_director.SetSelectUI();
         party_manager_director.SelectAllClear();
     }
     SoundManager.instance.PlaySound("UI_Button_Click1");
 }