playMaker

Author Topic: NGUI support problem[SOLVED]  (Read 4255 times)

Sija

  • Playmaker Newbie
  • *
  • Posts: 1
NGUI support problem[SOLVED]
« 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
« Last Edit: December 30, 2013, 10:35:39 AM by jeanfabre »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: NGUI support problem
« Reply #1 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...


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: NGUI support problem
« Reply #2 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

Phidias

  • Playmaker Newbie
  • *
  • Posts: 4
Re: NGUI support problem
« Reply #3 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...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: NGUI support problem
« Reply #4 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

Phidias

  • Playmaker Newbie
  • *
  • Posts: 4
Re: NGUI support problem
« Reply #5 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.   

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: NGUI support problem
« Reply #6 on: December 29, 2013, 10:08:58 AM »
Hi,

 D'oh! Redownload the example package please.

 Bye,

 Jean.

Phidias

  • Playmaker Newbie
  • *
  • Posts: 4
Re: NGUI support problem
« Reply #7 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~~~

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: NGUI support problem[SOLVED]
« Reply #8 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

Phidias

  • Playmaker Newbie
  • *
  • Posts: 4
Re: NGUI support problem[SOLVED]
« Reply #9 on: January 02, 2014, 10:19:34 AM »
Oh..Just a easy way..Thanks very much.