private void MakeCharacterSlots()
    {
        if (characterSlotPrefab == null)
        {
            return;
        }

        for (int i = 0; i < (int)CharacterType.CharacterEnd; i++)
        {
            GameObject makeObj = GameObject.Instantiate(characterSlotPrefab, this.transform);
            if (makeObj != null)
            {
                CharacterSlot_Ui slot = makeObj.GetComponent <CharacterSlot_Ui>();
                if (slot != null)
                {
                    slot.Initialize((CharacterType)i, PassiveUiOnOff, this);
                }
            }
        }

        float eachDistance = grid.cellSize.y + grid.spacing.y;

        if (rectTr != null)
        {
            rectTr.sizeDelta = new Vector2(eachDistance * ((int)CharacterType.CharacterEnd), 100f);
        }
    }
 public void ShowHowToGet(CharacterSlot_Ui slot)
 {
     this.nowSelectSlot = slot;
     UpdataCharacterHowToGet();
     SelectButtonOnOff(false);
 }
 public void RegistSelectSlot(CharacterSlot_Ui slot)
 {
     this.nowSelectSlot = slot;
     UpdateCharacterInfoText();
     SelectButtonOnOff(true);
 }