Beispiel #1
0
 public override void Init()
 {
     base.Init();
     this.m_LoadController = this.gameObject.GetComponent <LoadController>();
     if (this.m_LoadController == null)
     {
         this.m_LoadController = this.gameObject.AddComponent <LoadController>();
     }
     this.cenHelper = this.transform.Find("Anchor/Container").GetComponent <UICenterHelper>();
     this.InitValue();
 }
Beispiel #2
0
 public override void Init()
 {
     base.Init();
     this.m_LoadController = this.gameObject.GetComponent <LoadController>();
     if (this.m_LoadController == null)
     {
         this.m_LoadController = this.gameObject.AddComponent <LoadController>();
     }
     this.txtLabel    = this.transform.Find("Anchor/Text").GetComponent <UILabel>();
     this._bgPic      = this.transform.Find("Anchor/Background").GetComponent <UISprite>();
     this._loadBlueBg = this.transform.Find("Anchor/Bluebg").GetComponent <UISprite>();
     this.InitValue();
 }
Beispiel #3
0
 public override void Destroy()
 {
     this.m_LoadController = null;
     base.Destroy();
 }