Hello Guest

Author Topic: Link between a button and playmaker  (Read 3730 times)

deliriumdani

  • Newbie
  • *
  • Posts: 1
    • View Profile
Link between a button and playmaker
« 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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Link between a button and playmaker
« Reply #1 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.

rc183

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Link between a button and playmaker
« Reply #2 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