示例#1
0
    public static AndroidRateUsPopUp Create(string title, string message, string url, string yes, string later, string no, AndroidDialogTheme theme)
    {
        AndroidRateUsPopUp rate = new GameObject("AndroidRateUsPopUp").AddComponent<AndroidRateUsPopUp>();
        rate.title = title;
        rate.message = message;
        rate.url = url;

        rate.yes = yes;
        rate.later = later;
        rate.no = no;

        rate.init(theme);

        return rate;
    }
示例#2
0
    public static AndroidRateUsPopUp Create(string title, string message, string url, string yes, string later, string no, AndroidDialogTheme theme)
    {
        AndroidRateUsPopUp rate = new GameObject("AndroidRateUsPopUp").AddComponent <AndroidRateUsPopUp>();

        rate.title   = title;
        rate.message = message;
        rate.url     = url;

        rate.yes   = yes;
        rate.later = later;
        rate.no    = no;

        rate.init(theme);

        return(rate);
    }
示例#3
0
 public static AndroidRateUsPopUp Create(string title, string message, string url, AndroidDialogTheme theme)
 {
     return(Create(title, message, url, "Rate app", "Later", "No, thanks", theme));
 }
示例#4
0
 public void init(AndroidDialogTheme theme)
 {
     AN_PoupsProxy.showRateDialog(title, message, yes, later, no, theme);
 }
示例#5
0
 public static AndroidRateUsPopUp Create(string title, string message, string url, AndroidDialogTheme theme)
 {
     return Create(title, message, url, "Rate app", "Later", "No, thanks", theme);
 }
示例#6
0
	public static void showRateDialog(string title, string message, string yes, string laiter, string no, AndroidDialogTheme theme = AndroidDialogTheme.ThemeDeviceDefaultDark) {
		CallActivityFunction("ShowRateDialog", title, message, yes, laiter, no, (int)theme);
	}
示例#7
0
	public static void ShowPreloader(string title, string message, AndroidDialogTheme theme = AndroidDialogTheme.ThemeDeviceDefaultDark) {
		CallActivityFunction("ShowPreloader",  title, message, (int)theme);
	}
示例#8
0
	public static void showMessage(string title, string message, string ok, AndroidDialogTheme theme = AndroidDialogTheme.ThemeDeviceDefaultDark) {
		CallActivityFunction("ShowMessage", title, message, ok, (int)theme);
	}
示例#9
0
	public static void showMessage(string title, string message, AndroidDialogTheme theme = AndroidDialogTheme.ThemeDeviceDefaultDark) {
		showMessage (title, message, "Ok", theme);
	}	
示例#10
0
	//--------------------------------------
	//  MESSAGING
	//--------------------------------------	
	
	public static void showDialog(string title, string message, AndroidDialogTheme theme = AndroidDialogTheme.ThemeDeviceDefaultDark) {
		showDialog (title, message, "Yes", "No", theme);
	}
    public static AndroidDialog Create(string title, string message, string yes, string no, AndroidDialogTheme theme)
    {
        AndroidDialog dialog;

        dialog         = new GameObject("AndroidPopUp").AddComponent <AndroidDialog>();
        dialog.title   = title;
        dialog.message = message;
        dialog.yes     = yes;
        dialog.no      = no;
        dialog.init(theme);

        return(dialog);
    }
 public static AndroidDialog Create(string title, string message, AndroidDialogTheme theme)
 {
     return(Create(title, message, "Yes", "No", theme));
 }