PlayMaker NGUI Scripts

Included in this package are new Actions for Playmaker, centered around NGUI and its components. These scripts provide Playmaker Action functionality for handling events, managing components, and setting values of NGUI items.

PlayMaker NGUI Scripts - Asset Store

A brief list of what is included:

  • Hook any NGUI event as a Playmaker transition event (OnClick, OnSliderChanged, etc)
  • Hook any NGUI event as a Playmaker transition event (OnClick, OnSliderChanged, etc)
  • Read and store the value of an Input textbox
  • Read and store the value of a Slider
  • Read and store the value of a Progressbar
  • Set the value of a Slider
  • Set the value of a Progressbar
  • Set any NGUI item’s Active state (uses NGUI’s SetActive, not SetActiveRecursively, per NGUI’s documentation)
  • Set a UIButton to Enabled or Disabled
  • Set a UIImageButton to Enabled or Disabled
  • Apply a label to a Slider, with a text display of the Slider’s value
  • Apply a label to a Progressbar, with a text display of the Progressbar’s value
  • Change the text of a read-only text Label
  • Handle Button Click Events
  • Handle Hover Events
  • Handle Drag-Drop Events
  • Handle Tooltip Events

Additional features added by request.

Documentation

NOTE: Requires PlayMaker and NGUI

finally :slight_smile:
good job

can you tell me what def-rant between play-maker NGUI action scrips and this scrips .

Thank you. I’m always open to new ideas for scripts to add to this package.

I believe you’re referring to the script package found on PlayMaker’s website. Their package only has the event interceptor (OnClick, OnSliderChange, etc). It does not include any Actions (such as changing a label’s value). In addition, I’ve added more customized event interceptors, such as “On Select - Pressed” and “On Select - Released”.

The package you refer to only has customized events, whereas this package has those events (plus more), plus Actions for the common NGUI stuff (like disabling buttons, changing label text, reading input text, etc).

Plus, I’m willing to add new Actions upon request.

hi merlin just bought your scripts,i would like to make a request
I would like to access the pop up menu or lists, the individual buttons that are created at run time.

Sure, I’ll take a look at those next week. Thanks for the suggestion.

Thanks for the help. i’ll buy it very soon.

Ok, new version submitted to Unity. Should be approved in a day or so.

Everything was already there to handle Popup Lists and Menus, but I did create a new demo to show you how to do it. I also added a few new actions (mostly to support the demo, but hey - New Actions).

The new update should be available in roughly a day. Check your asset store panel for the update.

Ok, even newer version submitted.

After thinking about it, I realized the Popup needed one new action, so I added “Ngui Add Popup Option”, which will allow you to add new items to the popup menu.

Again, should be available in about a day or so.

wow.good to go

nice work:p

thanks man great work

Thank you very much.

It would really help me if you guys could rate the package in the asset store. Thank you.

Hi,
I bought your tool today.it’s cool but i want NGUI drag and drop like function or pop up menu also.can you do this pleases.

thanks in advance.

regards,
play_edu

+1

Hi,

Can you add ngui actions in every frame option?(like ngui get slider value,ngui update label text)

Thank You in Advance.

Dev

Hi Play_Edu,

Thanks for purchasing my scripts.

The events are already set up for Drag and Drop. In Playmaker, right click on your State, select Transition > Custom > NGUI > On Drag

The latest version of my package also includes a new Demo project showing how to use popup menus.

Did this answer your questions?

Thanks for ans…

I’m looking at modifying the text on a label with a count down, and your docs say that I can use a variable or static text.
I specify the game object, but can’t change the value.
The drop down for New Value just says None, but I have a variable with what I want it to be populated with.
1319674--62573--$screenshot.png
What am I missing?

Figured it out.
The variable was an int, and needed to be converted to a string.