blob: 40b161ae60d09456205f63a9cc5f426d8b61a343 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient.UI
{
internal class BattleContiBehaviour : DlgBehaviourBase
{
public IXUILabel m_killer;
public IXUILabel m_deader;
public IXUISprite m_KillText;
public Transform m_Parent;
public Transform m_InfoTpl;
public IXUITweenTool[] m_Killicon = new IXUITweenTool[XBattleCaptainPVPDocument.CONTINUOUS_KILL + 1u];
public IXUITweenTool m_AssitIcon;
public IXPositionGroup m_KillInfoGroup = null;
private void Awake()
{
this.m_Parent = base.transform.Find("Bg/KillInfoParent");
this.m_InfoTpl = base.transform.Find("Bg/KillInfoParent/InfoTpl");
this.m_killer = (base.transform.Find("Bg/KillInfoParent/InfoTpl/Bg/killer").GetComponent("XUILabel") as IXUILabel);
this.m_deader = (base.transform.Find("Bg/KillInfoParent/InfoTpl/Bg/dead").GetComponent("XUILabel") as IXUILabel);
this.m_KillText = (base.transform.Find("Bg/Continuous/KillText").GetComponent("XUISprite") as IXUISprite);
this.m_AssitIcon = (base.transform.Find("Bg/Continuous/AssistIcon").GetComponent("XUIPlayTween") as IXUITweenTool);
int num = 1;
while ((long)num <= (long)((ulong)XBattleCaptainPVPDocument.CONTINUOUS_KILL))
{
this.m_Killicon[num] = (base.transform.Find(string.Format("Bg/Continuous/Killicon{0}", num)).GetComponent("XUIPlayTween") as IXUITweenTool);
num++;
}
this.m_KillInfoGroup = (this.m_Parent.GetComponent("PositionGroup") as IXPositionGroup);
}
}
}
|