- Home /
Question by
liju_techtreeit · Dec 18, 2017 at 01:20 PM ·
htmlrichtextbox
HTML Rich Text to Unity Problem
My Rich Text is in HTML format
<div class="ExternalClass542EC780E87C4F6CA2601B9227BE0121">Hi</div>
My code is
IEnumerator Wait(){
yield return new WaitForSeconds (0.01f);
actorText.text = myBasic.storyActor;
StringBuilder sBuilder = new StringBuilder(""+myBasic.textContent);
yield return new WaitForSeconds (0.01f);
dialogeText.text = sBuilder.ToString();
// dialogeText.text = "<color=#75A3FF>blah blah blah</color>";
this.transform.localScale = Vector3.one;
this.transform.localPosition = new Vector3 (this.transform.localPosition.x, this.transform.localPosition.y, 0);
}
Its not working .
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612144810im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Webplayer: Switch to fullscreen via HTML-Button? 1 Answer
How do install a plugin? 2 Answers
Using HTML to edit the Unity Web Player 2 Answers
WebGL Canvas/Keyboard focus 1 Answer