示例#1
0
 private void ActiveSpeaker(SpeakerValue speaker)
 {
     speakerName.SetActive(true);
     speakerName.GetComponent <TextMeshProUGUI>().text = speaker.name;
     speakerFace.SetActive(true);
     speakerFace.GetComponent <Image>().sprite = speaker.face;
 }
示例#2
0
 public void CopyStats(SpeakerValue speaker)
 {
     this.name  = speaker.name;
     this.face  = speaker.face;
     this.story = speaker.story;
     this.quest = speaker.quest;
 }