Author Topic: How to render HTML content in game by using NGUI  (Read 5257 times)

alisoft007

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
How to render HTML content in game by using NGUI
« on: October 16, 2014, 02:15:31 PM »
Hello there I want to know if there is any way to render html text and all its basic tags like (heading,paragraph,HyperLinks and Images) in unity by using NGUI, the html content that render on UI can be scroll able and edit able,  if Yes then How?
plz give me a direction to start my work, a little help would be much appriciated :)

for example if you see the image, it shows html content like text, images and hyper links :)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to render HTML content in game by using NGUI
« Reply #1 on: October 17, 2014, 04:52:24 AM »
Nothing in NGUI handles HTML, so it's up to you to add it if you need it.

You can embed clickable URLs, however. Check the documentation for UILabel and its 'url' tag.

alisoft007

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: How to render HTML content in game by using NGUI
« Reply #2 on: October 18, 2014, 04:24:09 AM »
what about this asset that use NGUI to render html content?
do you have any idea which approach they follow to render html content ?
https://www.assetstore.unity3d.com/en/#!/content/7918

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to render HTML content in game by using NGUI
« Reply #3 on: October 18, 2014, 09:01:52 AM »
I have no idea. You have to ask its author.