- Home /
How to add post from wordpress in unity?
Hello everyone! I'm trying to take a section from wordpress website and add it in my unity app. I have used Wp Rest API for catch the url of the post in the website, after that i download the file json with WebClient().DownloadString(url) and i used Posts p1 = JsonUtility.FromJson(jsonString) to create an object from its JSON representation.
Now i can show on the scene whatever i want, like the id, title or content of the post, but i want also show the style of the post with the link, color of the text and else.
So my question is how do I let him read the style as well? For example, make the phrase "Hello word" clickable and do not let appear the tag a href="http ..." Or let him know that a word has to be bold?
Thank you in advance for who responds.