Author Topic: UIDragDropItem not under cursor  (Read 19010 times)

matis

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: UIDragDropItem not under cursor
« Reply #15 on: March 05, 2014, 07:20:42 AM »
It is normal but not good in my case. It is not normal to switch to another resolution and let for examle table disapear because it is off-screen. Iam using UIStretch because it is not that bad when I switch from 16:9 to 16:10 at least whole my scene is there. Anchors are good for UI elements but not for game objects I need have them on exactly same place to cover my background.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIDragDropItem not under cursor
« Reply #16 on: March 05, 2014, 07:34:18 AM »
To anchor game objects, use the old UIAnchor.

Skewing may not be that noticeable when going from 16:9 to 16:10, but when you go from 16:9 to 4:3 -- very much so. All your circles will become visibly squished. It's always very noticeable when games do that.

Skewing your entire UI will break your scroll views because NGUI was designed to work with a uniform scale.