playMaker

Author Topic: Get Float from a script  (Read 2557 times)

lin0603

  • Playmaker Newbie
  • *
  • Posts: 9
Get Float from a script
« on: March 11, 2014, 03:32:15 AM »
Hi :

I'm new to programming.

And Now i tried to get Float from a script...
(Or it could be Sent float to a playmaker fsm)
so i follow https://hutonggames.fogbugz.com/default.asp?W329
and try to use Get Component with it...

it took me two days :'( but i still cant make it work..

There is a tutorial from Youtube is using Java but what i need is using C#
Is it possible anyone could make a simple example for me?

Thanks,

Lin

« Last Edit: March 11, 2014, 04:09:31 AM by lin0603 »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get Float from a script
« Reply #1 on: March 11, 2014, 06:50:15 AM »
Hi,

you simply need to use the action "get property", drag that component onto playmaker state stack and it will prompt you a selection where you can select "get property" and it will list all public variables of same component.


bye,

 Jean