Author Topic: Unity5 - Deprecated UnityEngine.Camera.isOrthoGraphic reference in UIAnchor?  (Read 15594 times)

RobBrooks

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 19
    • View Profile
Upgraded Project to Unity 5. Now Upgrading NGUI to 3.8.2

Has this, at the bottom of UIAnchor script just been overlooked or have a perhaps 'crossed the streams' somewhere?

I figured it might be worth checking before I just go ahead and correct it to "Use orthographic".

Cheers,

Rob.


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Are you missing a picture or something else?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Might have been left in there to be compatible with 4.x and should be automatically fixed by the API updater, I think.

RobBrooks

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 19
    • View Profile
Ah okay, that makes sense.

I was advised by the project lead not to use the API updater, so I didn't.

I guess I'm lucky that there weren't more issues. :)

Many thanks for the replies.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Why not use the API updater? It's quite benign.