Exemple #1
0
 public void DisplayTaskParts()
 {
     partsList = (Instantiate(partsListPrefab, new Vector3(0f, 0f, 0f), Quaternion.identity) as GameObject).GetComponent <VerticalLayoutGroup>();
     partsList.transform.SetParent(transform.parent, false);
     partsList.transform.SetSiblingIndex(transform.GetSiblingIndex() + 1);
     FillDisplayFromDb(DbQueries.GetEquipItemPartsRelatedToTask(myID), partsList.transform, BuildEquipItemPart, myID);
     AppendDisplayFromDb(DbQueries.GetPrefabPartsRelatedToTask(myID), partsList.transform, BuildPrefabPart, myID);
     AppendDisplayFromDb(DbQueries.GetActivateDialoguePartsRelatedToGameTaskQry(myID), partsList.transform, BuildActivateDialogueNodePart, myID);
     AppendDisplayFromDb(DbQueries.GetCompleteQuestPartsRelatedToTaskQry(myID), partsList.transform, BuildCompleteQuest, myID);
     AppendDisplayFromDb(DbQueries.GetDefeatCharTagPartsRelatedToTaskQry(myID), partsList.transform, BuildDefeatCharTagPart, myID);
     arrowTransform.Rotate(0, 0, -90);
 }
Exemple #2
0
 public void DisplayCompleteQuestPartsRelatedToTask(string taskID)
 {
     AppendDisplayFromDb(DbQueries.GetCompleteQuestPartsRelatedToTaskQry(taskID), partsList.transform, BuildCompleteQuestTagPart, taskID);
 }