コード例 #1
0
    private void OnShortTouchChip(GUIListChipParts.Data data)
    {
        Action <int> callback = delegate(int result)
        {
            if (result > 0)
            {
                this.Send(data.userChip);
            }
        };

        CMD_ChipReinforcementModal.Create(data.userChip, callback);
    }
コード例 #2
0
    private void OnTouchReinforce()
    {
        this.HideLoopAnim();
        Action <int> callback = delegate(int result)
        {
            if (result > 0)
            {
                this.Send(this.currentUserChipList);
            }
        };

        CMD_ChipReinforcementModal.Create(this.currentUserChipList, callback);
    }