コード例 #1
0
ファイル: Room_MenuUIManager.cs プロジェクト: PenpenLi/AOL
    public void UpdateRoleEachSkillValue(TP_Info info, int role, int team)
    {
        int curValue = 0;

        for (int cnt = 0; cnt < 4; cnt++)
        {
            curValue = (int)info.GetMagicSkill(cnt).CurValue;
            roomEachSkillUIpage[cnt + ((role) + (team - 1) * 3) * 5].transform.Find("PowerTag/Value").GetComponent <UILabel>().text = curValue.ToString();
        }
        curValue = (int)info.GetSuperSkill().CurValue;
        roomEachSkillUIpage[4 + ((role) + (team - 1) * 3) * 5].transform.Find("PowerTag/Value").GetComponent <UILabel>().text = curValue.ToString();
    }