blob: da2aa8b1df9da9cfba681bebb05e99cee1597e6b (
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
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
namespace XMainClient.UI
{
public class ModalSettingNumberDlgBehaviour : DlgBehaviourBase
{
public IXUIButton AddBtn;
public IXUIButton SubBtn;
public IXUIButton CancelBtn;
public IXUIButton OkBtn;
public GameObject itemObject;
public IXUILabel numLabel;
public IXUILabel titleLabel;
public IXUISprite backSprite;
private void Awake()
{
this.AddBtn = (base.transform.Find("Count/Add").GetComponent("XUIButton") as IXUIButton);
this.SubBtn = (base.transform.Find("Count/Sub").GetComponent("XUIButton") as IXUIButton);
this.numLabel = (base.transform.Find("Count/number").GetComponent("XUILabel") as IXUILabel);
this.titleLabel = (base.transform.Find("findname").GetComponent("XUILabel") as IXUILabel);
this.CancelBtn = (base.transform.Find("BtnNO").GetComponent("XUIButton") as IXUIButton);
this.OkBtn = (base.transform.Find("BtnOK").GetComponent("XUIButton") as IXUIButton);
this.itemObject = base.transform.Find("ItemTemplate").gameObject;
this.backSprite = (base.transform.Find("back").GetComponent("XUISprite") as IXUISprite);
}
}
}
|