Example #1
0
	//--------------------------------------
	// INITIALIZE
	//--------------------------------------
	
	public static WP8Dialog Create(string title, string message) {
		WP8Dialog dialog;
		dialog  = new GameObject("WP8Dialog").AddComponent<WP8Dialog>();
		dialog.title = title;
		dialog.message = message;
		dialog.init();
		
		return dialog;
	}
Example #2
0
	//--------------------------------------
	// INITIALIZE
	//--------------------------------------

	public static WP8RateUsPopUp Create(string title, string message) {
		WP8RateUsPopUp popup = new GameObject("WP8RateUsPopUp").AddComponent<WP8RateUsPopUp>();
		popup.title = title;
		popup.message = message;
		
		popup.init();
		
		return popup;
	}
Example #3
0
	//--------------------------------------
	// INITIALIZE
	//--------------------------------------
			
	public static MNWP8Message Create(string title, string message) {
		MNWP8Message dialog;
		dialog  = new GameObject("WP8Message").AddComponent<MNWP8Message>();
		dialog.title = title;
		dialog.message = message;
		dialog.init();
		
		return dialog;
	}
Example #4
0
	public static MNAndroidDialog Create(string title, string message, string yes, string no) {
		MNAndroidDialog dialog;
		dialog  = new GameObject("AndroidPopUp").AddComponent<MNAndroidDialog>();
		dialog.title = title;
		dialog.message = message;
		dialog.yes = yes;
		dialog.no = no;
		dialog.init();
		
		return dialog;
	}
Example #5
0
	public static MNAndroidMessage Create(string title, string message, string ok) {
		MNAndroidMessage dialog;
		dialog  = new GameObject("AndroidPopUp").AddComponent<MNAndroidMessage>();
		dialog.title = title;
		dialog.message = message;
		dialog.ok = ok;
		
		dialog.init();
		
		return dialog;
	}
Example #6
0
	public static IOSRateUsPopUp Create(string title, string message, string rate, string remind, string declined) {
		IOSRateUsPopUp popup = new GameObject("IOSRateUsPopUp").AddComponent<IOSRateUsPopUp>();
		popup.title = title;
		popup.message = message;
		popup.rate = rate;
		popup.remind = remind;
		popup.declined = declined;
		
		popup.init();
		
	
		return popup;
	}
	public static MNAndroidRateUsPopUp Create(string title, string message, string url, string yes, string later, string no) {
		MNAndroidRateUsPopUp rate = new GameObject("AndroidRateUsPopUp").AddComponent<MNAndroidRateUsPopUp>();
		rate.title = title;
		rate.message = message;
		rate.url = url;

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

		rate.init();
			
		return rate;
	}