Beispiel #1
0
    public WGTipAlertView showTipView(string msg)
    {
        WGTipAlertView tp = WGTipAlertView.CreateTipView();

        tp.freshUI(msg);
        SDK.AddChild(tp.gameObject, goTopView);
        tp.showView();
        return(tp);
    }
Beispiel #2
0
//	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);
    }