Author Topic: how to scroll without using uipanel?  (Read 3310 times)

alexeyshevchenko

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 12
    • View Profile
how to scroll without using uipanel?
« on: May 23, 2014, 08:48:13 AM »
Hello

i trying to make shop in my project, all cell will be show on the bottom of the screen

how to make scrolling in NGUI without truncation?


And plz keep in mind - i can't use camera and panel for it . panel slows .
« Last Edit: May 23, 2014, 09:09:40 AM by alexeyshevchenko »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: how to scroll without using uipanel?
« Reply #1 on: May 23, 2014, 04:15:44 PM »
Either use UIDragObject, or -- prefferably -- simply set your panel's clipping to be "constrain but don't clip".

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: how to scroll without using uipanel?
« Reply #2 on: May 24, 2014, 07:53:41 AM »
Put everything into a hierarchy so they are siblings and move the parent when you drag. You can use UIDragObject or roll your own version, if you need.