playMaker

Author Topic: Clicked button but never tansit to another stage  (Read 2638 times)

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Clicked button but never tansit to another stage
« on: February 07, 2015, 05:56:14 PM »
As shown in attachment, it never goto 'state 2' when left mouse button is clicked.
i am using 'mouse pick 2D event' and there is no error pop.

I did simple mouse click on those 3D game object, sprite and it work but not the new UI > Button object.

May i know what's the friendly way to create button click via playmaker?

Thanks for the input.

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Re: Clicked button but never tansit to another stage
« Reply #1 on: February 07, 2015, 07:22:40 PM »
i even bought a NGUI for this button problem...  ???
Kindly checkout the attached screenshot.

It just doesn't transit to next stage when my left mouse button clicked. (with NGUI)

what could goes wrong?

VascBogdan

  • Full Member
  • ***
  • Posts: 118
Re: Clicked button but never tansit to another stage
« Reply #2 on: February 08, 2015, 05:08:53 AM »
I had the same problem but in Mouse Pick simple, in the 3D one, hope it works here too.
 At the Layer mask in your Mouse Pick event, modify it to 1 and put a layer over there (doesn't really matter if your app is just at beginning). Go to your BackGround and put the save layer there too (you can modify the layer from "Layer:" near the Tag). On my first, I used Water layer, then I learned how to create one.
 I don't really know what you actually want to do but this should work I think.

edit: Before doing that, try to put the OnClick even to the "Mouse Down", not "Mouse Up".
« Last Edit: February 08, 2015, 10:59:52 AM by VascBogdan »

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Re: Clicked button but never tansit to another stage
« Reply #3 on: February 08, 2015, 12:40:39 PM »
Hi, have you got a full screenshot of your setup? Including the inspector tab etc. As your screenshots are cropped.