void SetUpFilter()
 {
     FilterSwitches.Clear();
     AddFilterSwitch(MasterDataDefineLabel.KindType.HUMAN);
     AddFilterSwitch(MasterDataDefineLabel.KindType.DRAGON);
     AddFilterSwitch(MasterDataDefineLabel.KindType.GOD);
     AddFilterSwitch(MasterDataDefineLabel.KindType.DEMON);
     AddFilterSwitch(MasterDataDefineLabel.KindType.CREATURE);
     AddFilterSwitch(MasterDataDefineLabel.KindType.BEAST);
     AddFilterSwitch(MasterDataDefineLabel.KindType.MACHINE);
     AddFilterSwitch(MasterDataDefineLabel.KindType.EGG);
 }
 void SetUpFilter()
 {
     FilterSwitches.Clear();
     for (int i = 0; i < (int)MasterDataDefineLabel.RarityType.MAX; i++)
     {
         SortDialogSwitchListContext filterSwitch = new SortDialogSwitchListContext();
         filterSwitch.RarityType    = (MasterDataDefineLabel.RarityType)i;
         filterSwitch.NameText      = GameTextUtil.GetText(string.Format("filter_text{0}", 21 + i));
         filterSwitch.IsSelect      = CheckSelectFilter(filterSwitch.RarityType, m_SortDialog.m_SortData);
         filterSwitch.DidSelectItem = OnClickSwitch;
         FilterSwitches.Add(filterSwitch);
     }
 }