playMaker

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

christougher

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
Drag multiple objects into array
« on: August 23, 2017, 12: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: 2260
    • View Profile
    • jinxtergames
Re: Drag multiple objects into array
« Reply #1 on: August 23, 2017, 08: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: 12342
  • Official Playmaker Support
    • View Profile
Re: Drag multiple objects into array
« Reply #2 on: August 23, 2017, 11:42:13 PM »
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

krmko

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • Fat Pug Studio
Re: Drag multiple objects into array
« Reply #3 on: September 29, 2017, 02:57:38 AM »
This would be very neat, i agree :)