Exemple #1
0
    public void CreateButtons(string buttonText, string storyPoint, string eventChoice)
    {
        ConversationButton newButton = Instantiator.Instance.GetNewT <ConversationButton>(button);

        newButton.SetUpButton(buttonText);
        newButton.SetUpStoryOptions(storyPoint, eventChoice);
        //SelectionHandler.Instance.Assign();
    }
Exemple #2
0
 public void AddUIButtonToList(ConversationButton button)
 {
     for (int i = 0; i < conversationButtons.Count; i++)
     {
         if (conversationButtons[i] == null)
         {
             conversationButtons[i] = button;
             return;
         }
     }
     conversationButtons.Add(button);
 }