- Home /
Can I display some text from a a website in Unity?
Hello there,
I want to display some text from a subtitle container in an existing audio player that is web based. Is this possible using Unity? If so can anyone give me and advice on how to go about it?
Thanks. Si
Answer by msabouri · Jul 25, 2020 at 01:58 PM
Hi @BainesySP
Yes, you can display text from a website.
First you need to do some networking stuff to retrieve your string. It's like making a request with the url of that website. Then you receive data from that url, which is usually in a string form. and usually your desired string is somewhere in received string, so you probably need some string work.
After that it comes the easy part. You need to make a Text object in a place that you like to show your text, and simply show the string that you received from website.
Your answer
Follow this Question
Related Questions
Displaying varying text 1 Answer
Display text when near an object, then go away 0 Answers
How to display text using javascript ? 1 Answer
How to color text smoothly or how to color part of a letter? 1 Answer
Issue displaying text on screen 1 Answer