protected override void Init() { base.Init(); instance = this; mailMultList = transform.Find("MailScrollView/MailMultList").GetComponent <GUISingleMultList>(); mailDetailObj = transform.Find("MailDetail").gameObject; promptLabel = transform.Find("PromptLabel").GetComponent <UILabel>(); notMail = transform.Find("NotMail").GetComponent <UILabel>(); tweenA = promptLabel.transform.GetComponent <TweenAlpha>(); tweenP = promptLabel.transform.GetComponent <TweenPosition>(); backBtn.onClick = OnBackBtnClick; }
public UIMailPanel() { instance = this; }