public WGTipAlertView showTipView(string msg) { WGTipAlertView tp = WGTipAlertView.CreateTipView(); tp.freshUI(msg); SDK.AddChild(tp.gameObject, goTopView); tp.showView(); return(tp); }
// public WGTipAlertView showArchivementTipView(int msgID){ // return showArchivementTipView (mString (msgID)); // } public WGTipAlertView showArchivementTipView(string msg, string icon) { WGTipAlertView tp = WGTipAlertView.CreateArchivementView(); tp.Icon.GetComponent <UISprite>().spriteName = icon; tp.freshUI(msg); SDK.AddChild(tp.gameObject, goTopView); tp.showView(); return(tp); }