2D Toolkit Forum

2D Toolkit => Support => Topic started by: deliriumdani on October 21, 2013, 06:13:15 pm

Title: Link between a button and playmaker
Post by: deliriumdani on October 21, 2013, 06:13:15 pm
Hi,
Very first day with 2d toolkit. An easy one:
A 2dtoolkit button with "Tk 2d UIitem" script. How can I link a behaviour "On down" with a playmaker FSM.
Thanks,
Dani
Title: Re: Link between a button and playmaker
Post by: unikronsoftware on October 21, 2013, 06:36:36 pm
You can't yet - you can use tk2dUIItem to trigger functions on your scripts, so if there is a function you can call on a playmaker script, you can do that.
Title: Re: Link between a button and playmaker
Post by: rc183 on November 08, 2013, 04:36:38 pm
There is a new plugin for 2dtoolkit UI on the asset store. I use it to my UIItem events with Playmaker.

https://www.assetstore.unity3d.com/#/content/11590 (https://www.assetstore.unity3d.com/#/content/11590)