예제 #1
0
 public void InsertMainText(DeafText dT)
 {
     dT.text   = dT.text.Replace("\\n", "\n");
     tmpT.text = dT.text;
     SplitString();
     StartCoroutine(videoManager.PlayVideo(dT.video));
 }
예제 #2
0
 public void Warning(DeafText deafText)
 {
     text.text = deafText.text;
     playVideoOnMouseOver.video = deafText.video;
     gameObject.SetActive(true);
     StartCoroutine(SetOff());
 }
예제 #3
0
 private void ChangeText(DeafText deafText, Color32 color)
 {
     text.color = color;
     text.text  = deafText.text;
     videoManager.PlayVideo(deafText.video);
 }
예제 #4
0
 private void PutVideoAndText(DeafText deafText)
 {
     playVideoOnMouseOver.video = deafText.video;
     text.text = deafText.text;
 }