Author Topic: How to scale for Web Player.  (Read 1664 times)

wallabie

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 200
    • View Profile
How to scale for Web Player.
« on: June 28, 2014, 10:20:36 AM »
I've been working with mobile and was wondering how to publish to Web player so that the dimensions would automatically scale.

For example, I would like to vary the height and have the app automatically scale itself to fill fit the specified dimensions.  I tried in an ad-hoc way with the various scaling style settings but didn't get the right combo.

 

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to scale for Web Player.
« Reply #1 on: June 28, 2014, 04:40:13 PM »
You do it via JavaScript as I understand it. It's not an NGUI question, but...

http://answers.unity3d.com/questions/8819/how-do-i-make-my-webplayer-fill-the-entire-browser.html