示例#1
0
 public void SelectSelf()
 {
     if (!editing)
     {
         DisplayOptions();
         SetColour(Colours.colorDataUIInputSelected);
         taskPartsListUI.DisplayPartsRelatedToTask(myID);
         questsUI.DisplayResultsRelatedToTaskCompletion(myID);
         //dialogueUI.HidePlayerChoices();
         //dialogueUI.HidePlayerChoiceResults();
     }
 }
            public void InsertMe()
            {
                string currentTaskID = FindObjectOfType <QuestsUI>().GetCurrentTaskID();
                string partID        = DbCommands.GenerateUniqueID("QuestTaskParts", "PartIDs", "PartID");

                taskPartsListUI.InsertPart(partID);
                DbCommands.InsertTupleToTable("QuestTaskPartsCompleteQuest",
                                              myQuestName,
                                              partID
                                              );
                taskPartsListUI.DisplayPartsRelatedToTask(currentTaskID);
                taskPartsListUI.HideNewPartPanel();
            }