Esempio n. 1
0
 private void ShowEndGameMessage()
 {
     if (UIAlertView.instance.active_alert_views.Count < 1)
     {
         UIAlertView.instance.ShowSimpleAlertView(gameObject, UIAlertView.Hash("title", "Поздравляем!", "message", "Вы закончили задание!!!", "button1title", "OK", "button1callback", "SimpleAlertCallback"));
     }
 }
Esempio n. 2
0
 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")
                                              );
 }
Esempio n. 3
0
 public void OnClick_SimpleAlert()
 {
     UIAlertView.instance.ShowSimpleAlertView(gameObject,
                                              UIAlertView.Hash(
                                                  "title", "Title",
                                                  "message", "Hello world",
                                                  "button1title", "OK",
                                                  "button1callback", "SimpleAlertCallback")
                                              );
 }
Esempio n. 4
0
 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")
                                              );
 }
Esempio n. 5
0
 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")
                                              );
 }
Esempio n. 6
0
 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")
                                              );
 }
Esempio n. 7
0
 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")
                                              );
 }