コード例 #1
0
    public void returnChoice(GameObject imageobject)
    {
        if (mtalking)
        {
            if (imageobject.name == "Image1")
            {
                TopicChoice.Close();
//				DialogueManager.ShowBox (Choice (TopicChoice.text1.text), true, "Ana", "Manager");
                DialogueManager.ShowBox(Choice(TopicChoice.text1.text), Choice1(TopicChoice.text1.text), true, false, true, false, "", "Manager");
                greeted = true;
            }
            if (imageobject.name == "Image2")
            {
                TopicChoice.Close();
                DialogueManager.ShowBox(Choice(TopicChoice.text2.text), Choice1(TopicChoice.text2.text), true, false, true, false, "", "Manager");
                greeted = true;
            }
        }
    }
コード例 #2
0
 public void returnChoice(GameObject imageobject)
 {
     if (player.talking)
     {
         if (imageobject.name == "Image1")
         {
             TopicChoice.Close();
             DialogueManager.ForceClose();
             DialogueManager.ShowBox(Choice(TopicChoice.text1.text), true, false, false, false, "", "");
         }
         loggedin = true;
     }
 }
コード例 #3
0
 public void returnChoice(GameObject imageobject)
 {
     if (rtalking)
     {
         if (imageobject.name == "Image1")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text1.text), true, "Ana", "Manager");
             DialogueManager.ShowBox(Choice(TopicChoice.text1.text), Choice1(TopicChoice.text1.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image2")
         {
             TopicChoice.Close();
             DialogueManager.ShowBox(Choice(TopicChoice.text2.text), Choice1(TopicChoice.text2.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image3")
         {
             TopicChoice.Close();
             DialogueManager.ShowBox(Choice(TopicChoice.text3.text), Choice1(TopicChoice.text3.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image4")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text4.text), Choice1(TopicChoice.text4.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image5")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text5.text), Choice1(TopicChoice.text5.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image6")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text6.text), Choice1(TopicChoice.text6.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image7")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text7.text), Choice1(TopicChoice.text7.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image8")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text8.text), Choice1(TopicChoice.text8.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image9")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text2.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text9.text), Choice1(TopicChoice.text9.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image10")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text3.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text10.text), Choice1(TopicChoice.text10.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image11")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text11.text), Choice1(TopicChoice.text11.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image12")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text12.text), Choice1(TopicChoice.text12.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image13")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text13.text), Choice1(TopicChoice.text13.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image14")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text14.text), Choice1(TopicChoice.text14.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image15")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text15.text), Choice1(TopicChoice.text15.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
         if (imageobject.name == "Image16")
         {
             TopicChoice.Close();
             //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Russet", "Ana");
             DialogueManager.ShowBox(Choice(TopicChoice.text16.text), Choice1(TopicChoice.text16.text), true, false, true, false, "", "Russet");
             greeted = true;
         }
     }
 }
コード例 #4
0
    public void returnChoice(GameObject imageobject)
    {
//		playerDM.ForceClose ();
        DialogueManager.ForceClose();
        if (ctalking)
        {
            if (imageobject.name == "Image1")
            {
                TopicChoice.Close();
//				DialogueManager.ShowBox (Choice (TopicChoice.text1.text), true, "Ana", "Cornelia");
                DialogueManager.ShowBox(Choice(TopicChoice.text1.text), Choice1(TopicChoice.text1.text), true, false, true, false, "", "Cornelia");
                if (!player.check_topic("CORNELIA"))
                {
                    player.add_topic("CORNELIA");
                }
                if (!player.check_topic("MYDEATH"))
                {
                    player.add_topic("MYDEATH");
                }
            }
            if (imageobject.name == "Image2")
            {
                TopicChoice.Close();
//				DialogueManager.ShowBox (Choice (TopicChoice.text2.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text2.text), Choice1(TopicChoice.text2.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image3")
            {
                TopicChoice.Close();
//				DialogueManager.ShowBox (Choice (TopicChoice.text3.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text3.text), Choice1(TopicChoice.text3.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image4")
            {
                TopicChoice.Close();
//				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text4.text), Choice1(TopicChoice.text4.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image5")
            {
                TopicChoice.Close();
                //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text5.text), Choice1(TopicChoice.text5.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image6")
            {
                TopicChoice.Close();
                //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text6.text), Choice1(TopicChoice.text6.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image7")
            {
                TopicChoice.Close();
                //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text7.text), Choice1(TopicChoice.text7.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image8")
            {
                TopicChoice.Close();
                //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text8.text), Choice1(TopicChoice.text8.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image9")
            {
                TopicChoice.Close();
                //				DialogueManager.ShowBox (Choice (TopicChoice.text2.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text9.text), Choice1(TopicChoice.text9.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image10")
            {
                TopicChoice.Close();
                //				DialogueManager.ShowBox (Choice (TopicChoice.text3.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text10.text), Choice1(TopicChoice.text10.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image11")
            {
                TopicChoice.Close();
                //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text11.text), Choice1(TopicChoice.text11.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image12")
            {
                TopicChoice.Close();
                //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text12.text), Choice1(TopicChoice.text12.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image13")
            {
                TopicChoice.Close();
                //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text13.text), Choice1(TopicChoice.text13.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image14")
            {
                TopicChoice.Close();
                //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text14.text), Choice1(TopicChoice.text14.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image15")
            {
                TopicChoice.Close();
                //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text15.text), Choice1(TopicChoice.text15.text), true, false, true, false, "", "Cornelia");
            }
            if (imageobject.name == "Image16")
            {
                TopicChoice.Close();
                //				DialogueManager.ShowBox (Choice (TopicChoice.text4.text), true, "Cornelia", "Ana");
                DialogueManager.ShowBox(Choice(TopicChoice.text16.text), Choice1(TopicChoice.text16.text), true, false, true, false, "", "Cornelia");
            }
        }
        greeted = true;
    }