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