public void SetCharacterActionButtons(CharacterParam characterParam, Action resetWaitGaugeRate)
    {
        for (int i = 0; i < CharacterActionButtons.Length; i++)
        {
            CharacterActionButtons[i].onClick.RemoveAllListeners();
        }

        CharacterActionButtons[0].onClick.AddListener(() =>
        {
            characterParam.FirstButtonAction();
            SetCenterUIVisible(false);
            resetWaitGaugeRate();
        });

        CharacterActionButtons[1].onClick.AddListener(() =>
        {
            characterParam.SecondButtonAction();
            SetCenterUIVisible(false);
            resetWaitGaugeRate();
        });

        CharacterActionButtons[2].onClick.AddListener(() =>
        {
            characterParam.ThirdButtonAction();
            SetCenterUIVisible(false);
            resetWaitGaugeRate();
        });

        CharacterActionButtons[3].onClick.AddListener(() =>
        {
            characterParam.FourthButtonAction();
            SetCenterUIVisible(false);
            resetWaitGaugeRate();
        });
    }
    public void SetCharacterActionButtons(CharacterParam characterParam)
    {
        for (int i = 0; i < CharacterActionButtons.Length; i++)
        {
            CharacterActionButtons[i].onClick.RemoveAllListeners();
        }
        //ラムダ式 0ボタンを押した時何をしますかと聞いている 無記名関数
        CharacterActionButtons[0].onClick.AddListener(() =>
        {
            characterParam.FirstButtonAction();
        });

        CharacterActionButtons[1].onClick.AddListener(() => characterParam.SecondButtonAction());
        CharacterActionButtons[2].onClick.AddListener(() => characterParam.ThirdButtonAction());
        CharacterActionButtons[3].onClick.AddListener(() => characterParam.FourthButtonAction());
    }