override public void init()
        {
            mInstance = this;
            this.gameObject.SetActive(false);
            itemApplyPanelFrefab = transform.FindChild("body");



            getComponentByPath <Text>("body/title/Text").text            = ContMgr.getCont("a3_teamInvitedPanel_0");
            getComponentByPath <Text>("body/body/Text").text             = ContMgr.getCont("a3_teamInvitedPanel_1");
            getComponentByPath <Text>("body/bottom/btnOk/Text").text     = ContMgr.getCont("a3_teamInvitedPanel_2");
            getComponentByPath <Text>("body/bottom/btnCancle/Text").text = ContMgr.getCont("a3_teamInvitedPanel_3");
        }
예제 #2
0
 public override void init()
 {
     a3_teamApplyPanel.mInstance = this;
     base.gameObject.SetActive(false);
     this.itemApplyPanelFrefab = base.transform.FindChild("body");
 }