- Home /
Creating In-game internet [ala GTA V]
Hello everyone!
I am looking to get input on a game aspect I am implementing, or going to I should say. I would like to have an in-game internet of sorts for my game, like how GTA V has several different sites with their own "pages" of sorts. The way I was thinking I would have to go about this is kinda just designing everything out in the scene view with the UI editor, and just hide/show each canvas as its own site. I'm not too sure this is the best way to do it, but I can't think of another way to go about it. Does anyone have any input?
Answer by I_Am_Err00r · Aug 08, 2019 at 07:28 PM
Instead of creating different canvases for each page, I would just make them different Images with all the children object inside those Image objects (so have UI Canvas called something like "Internet", then maybe a panel for each web page to anchor to, then each web page would be an Image Component, and then you would have all the Text and Images for each web page inside the web page gameObject and anchored to that), but you have the right idea.
Thank you! I knew I was on the right track, but I just wanted to be sure. Thank you for your input.
Answer by sacredgeometry · Aug 09, 2019 at 08:15 PM
This is being deprecated so it will need to be replaced with what ever super-cedes it but you could literally just write a flat HTML website and call it from within unity as a texture.
Your answer
![](https://koobas.hobune.stream/wayback/20220612210320im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Changing anchor positions on UI? 0 Answers
Health Bar Percentages Problem 2 Answers
How to edit UI Text from script 3 Answers