Author Topic: Panel Clipping while using your inventory example?  (Read 2337 times)

blahdot3h

  • Guest
Panel Clipping while using your inventory example?
« on: June 18, 2013, 11:44:50 PM »
I'm looking to have the inventory clipped in a panel while dragging though I know that each panel has it's own clipping so something will have to be changed in order to get this to work.

Given that your inventory example loads each item slot as it's own panel is there any way to get around this in order to achieve what I need?

I have already modified the inventory example code to save and load inventory and spent countless hours tooling this inventory to my needs.  This is one of the only hurdles that I have faced that I'm not sure how to get around.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Panel Clipping while using your inventory example?
« Reply #1 on: June 19, 2013, 12:24:15 AM »
Er... what? Each item as its own panel? No it doesn't. If you look at the inventory example, all the slots are under one panel.

There may be a panel created if you use Instantiate instead of NGUITools.AddChild.

blahdot3h

  • Guest
Re: Panel Clipping while using your inventory example?
« Reply #2 on: June 19, 2013, 10:08:07 AM »
Wow, I am so sorry.  Apparently somewhere along the line while I was tinkering around with these the storage icon template that I was using I turned it into a panel.  All I had to do was remove that and everything is fixed now.  Thank you for the quick response and dedicated support.  Sorry to waste your time hah.