playMaker

Author Topic: Drag multiple objects into array  (Read 2820 times)

christougher

  • Playmaker Newbie
  • *
  • Posts: 36
Drag multiple objects into array
« on: August 23, 2017, 03:12:44 AM »
It would be amazing if we could drag a bunch of gameobjects onto a field and have it be populated into an array variable or arraymaker proxy.  Like for reals!  Dragging in like 50 game objects one at a time is tedious and prone to error.
Chris

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: Drag multiple objects into array
« Reply #1 on: August 23, 2017, 11:59:35 AM »
Hi,
I would love that too.
not only for gameObjects

Also stuff from the project folder like sprites/textures/materials/audio and so on.

It seems possible in unity, but not sure if it would be possible in Playmaker

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Drag multiple objects into array
« Reply #2 on: August 24, 2017, 02:42:13 AM »
Hi,

 yes, I totally agree with this kind of productive improvements, but there is also a catch here.

 Maybe dragging 50 objects isn't how it's suppose to work and you likely should find an automated way to do that at runtime.

 Typically, these 50 objects share some common features and probably they could simply register themselves at start sending an event to a manager saying "Hello, here am I :) " and the manager would add it to the array.

I would explore this way anyway, but yes multi object drag would still be very convenient indeed :)

Bye,

 Jean

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Drag multiple objects into array
« Reply #3 on: September 29, 2017, 05:57:38 AM »
This would be very neat, i agree :)
Available for Playmaker work