コード例 #1
0
 public void ShowQuest(string title, string description, string objectif, string nameSave, BookQuest book)
 {
     questPannel.SetActive(true);
     questTitle.text = title;
     questDescription.text = description;
     questObjectif.text = objectif;
     questButton = questButton.GetComponent<Button>();
     //questButton.onClick.AddListener(() => { book.ChageStatQuest(nameSave, 1); questPannel.SetActive(false); });
 }
コード例 #2
0
 public void DisplayQuest(string title, string description, string goal, string nameSave, BookQuest book) { questUI.ShowQuest(title, description, goal, nameSave, book); }