Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: replikant on February 02, 2016, 01:49:40 AM

Title: ugui playmaker working with 5.2.1 ? [SOLVED]
Post by: replikant on February 02, 2016, 01:49:40 AM
hello is the current ugui for playmaker working with unity 5.2.1 ?

I am trying to use the on click event event on a button which dosent work.

thanks
Title: Re: ugui playmaker working with 5.2.1 ?
Post by: jeanfabre on February 02, 2016, 01:53:41 AM
Hi,

 Can you explain the technic you used? you have several ways to do this currently.

Bye,

 Jean
Title: Re: ugui playmaker working with 5.2.1 ?
Post by: replikant on February 02, 2016, 01:57:50 AM
I doing exactly like on this video with the button, however my clicks are not recognized

Title: Re: ugui playmaker working with 5.2.1 ?
Post by: jeanfabre on February 02, 2016, 02:34:49 AM
Hi,

 I know what it is. I think the current beta do not carry over the global events.

1: Open the PlayMaker Events Browser ( menu: PlayMaker/Editor windows/Event Browser)
2: check all UGUI / XXX so that they are global events ( if they are not)

(http://i.imgur.com/4jXAsuD.png)

Then things should be a better.

Let me know how it goes.

Bye,

 Jean
Title: Re: ugui playmaker working with 5.2.1 ?
Post by: replikant on February 02, 2016, 02:42:08 AM
I just checked, they are global already.
Title: Re: ugui playmaker working with 5.2.1 ?
Post by: replikant on February 02, 2016, 03:15:39 AM
I have tried many different things, still not working.
Title: Re: ugui playmaker working with 5.2.1 ?
Post by: jeanfabre on February 02, 2016, 03:24:15 AM
Hi,

 Can you zip the project and send me a link to download in a private message?

 Bye,

 Jean
Title: Re: ugui playmaker working with 5.2.1 ?
Post by: replikant on February 02, 2016, 04:27:33 AM
I created a new project, imported ugui with its example files called "test"
is the scene with Slider Toggle Button scrollbar inputfield

still same problem, the clicks are not recognized, the button changes color, but the event is not sent by playmaker, also there is an error "Missing 'PlayMaker UGui' prefab in scene" but the prefab is inside the scene. I also removed it, and added again.

I am using playmaker 1.7.8.3 with unity 5.2.1.4f1

do you have any other ideas I could try out?


Title: Re: ugui playmaker working with 5.2.1 ?
Post by: jeanfabre on February 02, 2016, 07:39:03 AM
Hi,

 Uhm, that's important. Indeed if you get a complain for a missing prefab it will not function properly.

Could you zip and put it on dropbox or somewhere you can send it to me ( not publicly?) then I'll have a look at your test project.

Bye,

 Jean
Title: Re: ugui playmaker working with 5.2.1 ?
Post by: replikant on February 02, 2016, 04:03:34 PM
i sent it to you in a message
Title: Re: ugui playmaker working with 5.2.1 ?
Post by: jeanfabre on February 03, 2016, 06:21:36 AM
Hi,

 the PlayMaker Ugui prefab is disabled for some strange reasons. That would explain why it complains about not finding it , yet be listed in the hierarchy.

 So enable "PlayMaker UGui" in your hierarchy and all will be well.

Bye,

 Jean
Title: Re: ugui playmaker working with 5.2.1 ?
Post by: replikant on February 03, 2016, 11:36:07 AM
hey, my other scene still didnt work, then I noticed that there was an other canvas on top of the button canvas, I moved the button canvas to the top and its working now, thanks for your help. the test scene is working now too