Author Topic: Small request  (Read 5154 times)

makeshiftwings

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 25
    • View Profile
Small request
« on: May 15, 2012, 02:11:50 AM »
Any chance you could move UITooltip and UICursor out of the Inventory Example and put them into the main UI folder?  And then remove UITooltip.ShowItem(item) and instead put a method in Item like GetTooltipText() to remove the dependency there?  I think the tooltip and cursor are useful to people who aren't using the inventory system.

I have an ulterior motive in that I use a heavily modified inventory system that causes name collision when I update NGUI so I have to avoid importing the Inventory Example, but I also think UITooltip and UICursor have grown up enough that they should be full-fledged parts of the UI now and not stuck in an example. ;)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Small request
« Reply #1 on: May 15, 2012, 01:24:27 PM »
True enough.

I actually already have done that on Windward, but totally forgot to put it back into NGUI. Thanks for the reminder. :)

zxhfrombnu

  • Guest
Re: Small request
« Reply #2 on: August 16, 2012, 03:21:34 AM »
hello, I really need your help. I am trying to change cursor in the game. So I use GNUI UICursor. But it does not work. Can you help me? I need the process  in detail and more clearly. Thanks a lot.