playMaker

Author Topic: Button Press not Sending/Broadcasting Event [SOLVED]  (Read 873 times)

BowDown2Anthony

  • Playmaker Newbie
  • *
  • Posts: 7
Button Press not Sending/Broadcasting Event [SOLVED]
« on: September 12, 2020, 11:54:06 PM »
Hello Everyone!

Been a long time since used Playmaker but I'm having an issue.. 

I created a UI button that's designed to send an event- I followed the instructions I found online and it doesn't seem the button is sending an event.

I have confirmed that the button is physically being pressed because my "pressed color" appears when clicking on the button.

The button press is linked to the Object with the target FSM, and I've used both broadcast and send event strings with no luck.

Can anyone please offer some insight?

Best
« Last Edit: September 16, 2020, 08:41:12 AM by Alex Chouls »

ch1ky3n

  • Full Member
  • ***
  • Posts: 208
Re: Button Press not Sending/Broadcasting Event
« Reply #1 on: September 14, 2020, 12:06:41 AM »
all you have to do is :

Make an FSM on the button game object.

On the editor, right-click and select UI, it has prebuilt Event "ON CLICK",

It will catch the click

BowDown2Anthony

  • Playmaker Newbie
  • *
  • Posts: 7
Re: Button Press not Sending/Broadcasting Event
« Reply #2 on: September 14, 2020, 01:22:57 AM »
Thanks for replying, I was about to tell you that your suggestion didn't work. But then I realized that the FPS camera system I was using was not letting me fully press the button. The button went red when I clicked it , but apparently "Pressed" does not mean the button was "activated." I wish that was in the Unity manual.. Thank you for your help

BowDown2Anthony

  • Playmaker Newbie
  • *
  • Posts: 7
Re: Button Press not Sending/Broadcasting Event
« Reply #3 on: September 14, 2020, 01:24:47 AM »
I actually also got it working without the FSM. My original setup in my first post was setup correctly, it was the FPS input thing that screwed it all up. :D