结算流程调整
This commit is contained in:
parent
ae4257a0a4
commit
714f180c9e
@ -42,12 +42,20 @@ namespace GameLogic
|
||||
|
||||
private Dictionary<string, List<Buff>> m_Buffs = new Dictionary<string, List<Buff>>(); //自身Buff列表
|
||||
|
||||
private int timerId = -1;
|
||||
|
||||
protected override void OnCreate()
|
||||
{
|
||||
base.OnCreate();
|
||||
|
||||
|
||||
GameModule.Timer.AddTimer(TimerHandler, 0.01f, true);
|
||||
timerId = GameModule.Timer.AddTimer(TimerHandler, 0.01f, true);
|
||||
}
|
||||
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
base.OnDestroy();
|
||||
GameModule.Timer.RemoveTimer(timerId);
|
||||
}
|
||||
|
||||
private void TimerHandler(object[] e)
|
||||
@ -389,6 +397,11 @@ namespace GameLogic
|
||||
private void LoadTextureMatRes(int key)
|
||||
{
|
||||
|
||||
if (this.gameObject == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// 先隐藏其他
|
||||
for (int i = 1; i < m_rectCar.childCount; i++)
|
||||
{
|
||||
|
@ -908,6 +908,7 @@ namespace GameLogic
|
||||
|
||||
|
||||
m_TeamSortList.Clear();
|
||||
m_DicTeamList.Clear();
|
||||
|
||||
|
||||
|
||||
|
@ -70,16 +70,14 @@ namespace GameLogic
|
||||
m_loopListView_View.RefreshAllShownItem();
|
||||
}
|
||||
|
||||
protected override void Close()
|
||||
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
base.Close();
|
||||
|
||||
|
||||
base.OnDestroy();
|
||||
Log.Debug("UIGameRankForm Close");
|
||||
DataGameSceneManager.Instance.OnRestData();
|
||||
}
|
||||
|
||||
|
||||
LoopListViewItem OnGetItemByIndex(LoopListView listView, int index)
|
||||
{
|
||||
if (index >= m_PlayRankDatas.Count)
|
||||
|
Loading…
x
Reference in New Issue
Block a user