blob: e3c8f0c88cfdb0fa2f670830aed5b43f8c90f848 (
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
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
namespace XMainClient.UI
{
internal class ReviveDlgBehaviour : DlgBehaviourBase
{
public Transform m_ReviveFrame;
public IXUITweenTool m_ReviveFrameTween;
public IXUIButton m_ReviveButton;
public IXUIButton m_CancelButton;
public IXUILabel m_ReviveCost;
public IXUISprite m_ReviveCostIcon;
public IXUILabel m_ReviveBuff;
public IXUILabel m_ReviveLeftTime;
private void Awake()
{
this.m_ReviveFrame = base.transform.Find("Frame/ReviveFrame");
this.m_ReviveFrameTween = (this.m_ReviveFrame.GetComponent("XUIPlayTween") as IXUITweenTool);
this.m_ReviveButton = (this.m_ReviveFrame.Find("Revive").GetComponent("XUIButton") as IXUIButton);
this.m_CancelButton = (this.m_ReviveFrame.Find("Cancel").GetComponent("XUIButton") as IXUIButton);
this.m_ReviveCost = (this.m_ReviveFrame.Find("Revive/Cost").GetComponent("XUILabel") as IXUILabel);
this.m_ReviveCostIcon = (this.m_ReviveFrame.Find("Revive/Cost/Icon").GetComponent("XUISprite") as IXUISprite);
this.m_ReviveBuff = (this.m_ReviveFrame.Find("Buff").GetComponent("XUILabel") as IXUILabel);
this.m_ReviveLeftTime = (this.m_ReviveFrame.Find("Revive/LeftTime").GetComponent("XUILabel") as IXUILabel);
this.m_ReviveFrame.gameObject.SetActive(false);
}
}
}
|