playMaker

Author Topic: Playmaker Array - 1.9  (Read 1121 times)

InbalTal

  • Junior Playmaker
  • **
  • Posts: 55
Playmaker Array - 1.9
« on: July 23, 2018, 03:54:03 AM »
Hi
I an new in this topic, and I reserch the net for Basic tutorial for the Array function with Playmaker 1.9.  Unfortunately, I didn't found any Basic Tutorial.

Please, Help needed..

I want to make 3 virtual buttons that evey time I press on different vr_button,  one video player object,  is start to play.

I want to do that with the array function.

Thank..  :)


 

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker Array - 1.9
« Reply #1 on: July 23, 2018, 04:00:51 AM »
Hi,

there is one here:
 you can use either the FsmArray variable type, which is built in Unity.

Or you can use ArrayMaker from the Ecosystem where you have not only arrays but also hashtables.

 Bye,

 Jean

InbalTal

  • Junior Playmaker
  • **
  • Posts: 55
Re: Playmaker Array - 1.9
« Reply #2 on: July 23, 2018, 08:53:19 AM »
Thank's for your  quick answer..
is there a function in Playmaker Action that i can use for touch vr button and add it to the array function?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker Array - 1.9
« Reply #3 on: July 25, 2018, 04:06:42 AM »
Hi,

your touch button VR should have an FSM that either will fire an event to a manager and that manager adds it to an array, or the array is global and it adds itself. Prefer the first variant, it scales better.

 Bye,

 Jean