Author Topic: Use UIPopupList as a context menu that appears on right click? [SOLVED]  (Read 1759 times)

vexe

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 153
    • View Profile
In the attached picture is what I'm trying to achieve (this was done in UnityGUI)

The question is, how can I achieve that with NGUI using a popup menu/list?
I believe this could be done by instantiating the list/menu EXPANDED in the place I want (where I right click), how can I instantiate it in its expanded state?

Thanks for the help.
« Last Edit: August 12, 2013, 12:59:34 PM by vexe »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Use UIPopupList as a context menu that appears on right click?
« Reply #1 on: August 11, 2013, 02:58:06 PM »
Just attach the UIPopupList script to your icons.