private void ShowEndGameMessage() { if (UIAlertView.instance.active_alert_views.Count < 1) { UIAlertView.instance.ShowSimpleAlertView(gameObject, UIAlertView.Hash("title", "Поздравляем!", "message", "Вы закончили задание!!!", "button1title", "OK", "button1callback", "SimpleAlertCallback")); } }
public void OnClick_SimpleAlertStory() { UIAlertView.instance.ShowSimpleAlertView(gameObject, UIAlertView.Hash( "title", "Story", "message", "I trapped the spider in a glass tumbler, the likes of which severed one of its legs, creating a grossly disfigured monster. But I look through the glass and see: the true monster is me.", "button1title", "OK", "button1callback", "SimpleAlertStoryCallback") ); }
public void OnClick_SimpleAlert() { UIAlertView.instance.ShowSimpleAlertView(gameObject, UIAlertView.Hash( "title", "Title", "message", "Hello world", "button1title", "OK", "button1callback", "SimpleAlertCallback") ); }
public void OnClick_RatingAlert() { UIAlertView.instance.ShowRatingAlertView(gameObject, UIAlertView.Hash( "title", "Rate us", "message", "Please rate us based on your expeirence.", "button1title", "Cancel", "button2title", "OK", "button2callback", "RatingAlertButton2Callback") ); }
public void OnClick_SimpleCustomAlert() { UIAlertView.instance.ShowCustomAlertView(gameObject, UIAlertView.Hash( "title", "Alert", "message", "Are you sure you want to delete this image?", "button1title", "Cancel", "button1callback", "SimpleCustomAlertButton1Callback", "button2title", "Yes", "button2callback", "SimpleCustomAlertButton2Callback", "inputfieldplaceholdertext", "password") ); }
public void OnClick_CustomAlertPassword() { UIAlertView.instance.ShowCustomAlertView(gameObject, UIAlertView.Hash( "title", "Password", "message", "Please enter your password", "button1title", "Cancel", "button2title", "OK", "button2callback", "CustomAlertPasswordCallback", "inputfieldactive", true, "inputfieldcontenttype", InputField.ContentType.Password, "inputfieldplaceholdertext", "password") ); }
public void OnClick_CustomAlertEmail() { UIAlertView.instance.ShowCustomAlertView(gameObject, UIAlertView.Hash( "title", "Email", "message", "Please enter your email", "button1title", "Cancel", "button2title", "OK", "button2callback", "CustomAlertEmailCallback", "inputfieldactive", true, "inputfieldcontenttype", InputField.ContentType.EmailAddress, "inputfieldplaceholdertext", "email") ); }