Author Topic: Dynamical menu popup ?  (Read 2842 times)

neliuz

  • Guest
Dynamical menu popup ?
« on: April 08, 2013, 08:11:20 AM »
Hi,

I have a script that generates the list of items from a script. And the script does not appear before i tell it to (with a refresh button).
Is it possible to integrate this "menu" with NGUI ? Because right now i just have an ugly font and its looks not styled at all.

Thanks for your time!

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Dynamical menu popup ?
« Reply #1 on: April 08, 2013, 09:21:35 AM »
I have a script that generates the list of items from a script. And the script does not appear before i tell it to (with a refresh button).
Is it possible to integrate this "menu" with NGUI ?

Yes.

Thanks for your time!

You're welcome.

neliuz

  • Guest
Re: Dynamical menu popup ?
« Reply #2 on: April 08, 2013, 09:53:20 AM »
Hehe) easy question:) hehe.. Can You maby show an example? Or point me to a tutorial?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Dynamical menu popup ?
« Reply #3 on: April 08, 2013, 02:32:51 PM »
Well it depends on what you actually want it to do.

Having a popup come out when you click a button is easy enough.

Making a list of items is easy enough. You just have to click a button to make a list of items inside a popup. :)

I suggest you take the examples in the NGUI project and fiddle around with them and see if you can make the scroll list, for instance, dynamically. Trying to mess with the existing stuff is a good way to learn.

I'm not sure there is really a guide for something like this, although I stumbled on a simple menu tutorial here http://www.youtube.com/watch?v=kdL318_J6_E that might help.

I hope that helps.

neliuz

  • Guest
Re: Dynamical menu popup ?
« Reply #4 on: April 08, 2013, 02:50:22 PM »
Thankyou :D
Will check it out! And tell you how it goes.