Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Sija on November 23, 2013, 06:34:19 AM

Title: NGUI support problem[SOLVED]
Post by: Sija on November 23, 2013, 06:34:19 AM
Hi, everyone i have problem with NGUI integration in Playmaker. I downloaded
'PlayMakerNgui.unitypackage' and import it into unity. Then i have two errors:
Code: [Select]
Assets/PlayMaker NGUI/Actions/Text/NguiTextEncodeColor.cs(36,45): error CS0103: The name `NGUIText' does not exist in the current context
Assets/PlayMaker NGUI/Actions/Text/NguiTextEncodeColor.cs(49,53): error CS0103: The name `NGUIText' does not exist in the current context
Wtat is wrong? i have NGUI v 3.03 and playmaker v 1.7.3
Title: Re: NGUI support problem
Post by: Alex Chouls on November 23, 2013, 10:21:26 AM
Try updating to the latest version of Playmaker (1.7.5) and NGUI (3.05).

There are also separate add-ons for NGUI 3.x and 2.x:
https://hutonggames.fogbugz.com/default.asp?W1111

Make sure you have the right one...

Title: Re: NGUI support problem
Post by: jeanfabre on December 19, 2013, 06:35:10 AM
Hi,

 I just updated the playmaker package to support Ngui 3.07, so these errors are now corrected and comply with ngui api changes.

https://hutonggames.fogbugz.com/default.asp?W1111

bye,

 Jean
Title: Re: NGUI support problem
Post by: Phidias on December 23, 2013, 02:28:13 AM
Hi
When I update NGUI to Ver.3.0.7.f1.
Playmaker ver is 1.7.6.f4
Then I run the example "Tutorial 11".
I found the event "ON NGUI / SELECT CHANGE" could not be send to playmaker state.What is wrong...Thanks for solving...
Title: Re: NGUI support problem
Post by: jeanfabre on December 26, 2013, 09:04:10 AM
Hi,

 Ok, Did not noticed it when I checked, thanks for spotting this, indeed the NGUI api has changed, so I had to adjust the system, now it works ( and will follow localization within ngui if any).

Please redownload from the wiki, both the ngui actions and the samples.

bye,

 Jean
Title: Re: NGUI support problem
Post by: Phidias on December 28, 2013, 11:56:28 PM
Hi
Tutorial 11 PlayMaker Popup list still not working.
GUI / On Selection Change was no function. Please
check that ,Thank you. Because the popuplist function
is very important to my project.   
Title: Re: NGUI support problem
Post by: jeanfabre on December 29, 2013, 10:08:58 AM
Hi,

 D'oh! Redownload the example package please.

 Bye,

 Jean.
Title: Re: NGUI support problem
Post by: Phidias on December 30, 2013, 09:29:36 AM
Oh..Thanks very much.
I tyied examples,and got work in NGUI 3.08.
But I have a question about that how to make a empty state with no state name in FSM. I try to imate the 11 example.But fail to do the empty state. Help~~~
Title: Re: NGUI support problem[SOLVED]
Post by: jeanfabre on December 30, 2013, 10:36:23 AM
Hi,

 eh eh :) simply put a space in the state name. And if you want to state with the same name, put spaces at the end of the duplicated state.

bye,

 Jean
Title: Re: NGUI support problem[SOLVED]
Post by: Phidias on January 02, 2014, 10:19:34 AM
Oh..Just a easy way..Thanks very much.