playMaker

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

Shizane

  • Junior Playmaker
  • **
  • Posts: 52
Link a Playmaker action/event to a unity script behaviour
« on: December 03, 2012, 02: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