playMaker

Author Topic: Link a Playmaker action/event to a unity script behaviour  (Read 950 times)

Shizane

  • Playmaker Newbie
  • *
  • Posts: 21
    • View Profile
Link a Playmaker action/event to a unity script behaviour
« on: December 03, 2012, 12:25:23 PM »

I'm wondering how I can link a Playmaker action/event to a unity script behaviour?

I have a truck that I can control with the W key to move forward and the S key to move backward with the keyboard. So I setup a Touch GUI Event setup on an arrow texture and when you touch it on the iPad, I want the truck to move forward like I can on the keyboard controls.

On the Move Left state I tried using a Enable Behaviour and a Get Key Down but that doesnt seem to work.

Any idea on how to utilize the truck moving script in Playmaker?

Cheers!
Shane