22 lines
602 B
C#
22 lines
602 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace MMO
|
|
{
|
|
public class MMOUIInviteProgress : MMOUIPop
|
|
{
|
|
[SerializeField] Image mImgProgress;
|
|
[SerializeField] Text mTxtProgress;
|
|
|
|
[SerializeField] MMOInviteList mInviteList;
|
|
|
|
public void Init(int pFinishedCount, int pNeedCount)
|
|
{
|
|
mImgProgress.fillAmount = pFinishedCount / (float)pNeedCount;
|
|
mTxtProgress.text = string.Format("{0}/{1}", pFinishedCount, pNeedCount);
|
|
mInviteList.LoadData();
|
|
}
|
|
}
|
|
} |