Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: Fat Pug Studio on July 21, 2018, 05:41:59 PM

Title: ArrayList and HashTable reordering + Bulk add to Array List and Hashes
Post by: Fat Pug Studio on July 21, 2018, 05:41:59 PM
Hi guys,

i messed around with Odin these days and it would be neat if some stuff could be implemented, specifically reordering of items in Array Lists and Hash Tables

(https://s26.postimg.cc/h0nh9byqx/2018-07-21_23-32-08.gif)

The other thing that would significantly improve the speed of work (and would come handy for pooling too!) is drag and drop GameObjects in bulk to Arrays and Hash tables.

(https://s26.postimg.cc/sprgxesbd/2018-07-21_23-39-26.gif)

Since keys are needed for Hash Tables, automatically assigning bulk added items with placeholder keys (1, 2, 3...) would sort it out i believe ^_^
Title: Re: ArrayList and HashTable reordering + Bulk add to Array List and Hashes
Post by: jeanfabre on July 25, 2018, 02:32:49 AM
Hi,

 Yes, that would be cool indeed :)

The problem is that if I start supporting Odin, then ArrayMaker becomes defacto a paid asset because you must have Odin.

 Bye,

 Jean
Title: Re: ArrayList and HashTable reordering + Bulk add to Array List and Hashes
Post by: Fat Pug Studio on July 25, 2018, 03:07:54 AM
Well i didn't mean to integrate it with Odin :)

I'll try fiddling around a bit, i see it needs serialization.
Title: Re: ArrayList and HashTable reordering + Bulk add to Array List and Hashes
Post by: jeanfabre on July 25, 2018, 03:56:06 AM
Hi,

 If you mean creating a similar interface from scratch, this is indeed a lot of work and I never had that much time to allocate for this... unfortunatly.

This is very hard work ( and that's an understatement), and Odin asset is exceptional in that regards, it's truly a work of art and deserves great respect, the guys are true genius at using Unity editor.

Have a go at it, if you come up with something that's fit for use, I'll consider integrating it in ArrayMaker if you are ok with this.

 Bye,

 Jean
Title: Re: ArrayList and HashTable reordering + Bulk add to Array List and Hashes
Post by: Fat Pug Studio on July 25, 2018, 05:19:31 AM
It truly is a lot of work. I'll try with a new Rotorz reorderable list library, 1.0.2 is out, i see the one implemented in PM is 0.2.6 :)
Title: Re: ArrayList and HashTable reordering + Bulk add to Array List and Hashes
Post by: jeanfabre on July 25, 2018, 10:26:51 AM
Hi,

 well, rotorz has deprecated, be careful which one you use, I have to redo some of my PlayMaker Utils wizard because of this.

this is the one to use if you go with rotorz : https://github.com/rotorz/unity3d-reorderable-list

but double check anyway that it works across all Unity versions.



I suggest you also check out the Unity version of it, It's explained and documented here

https://github.com/valyard/ReorderableListExample

Bye,

 Jean
Title: Re: ArrayList and HashTable reordering + Bulk add to Array List and Hashes
Post by: Fat Pug Studio on July 25, 2018, 02:03:20 PM
Thanks Jean,

Already found it, nice libs, there's also one for hash tables, that's neat. Anyway, if someone's up for team effort, let me know, this is no easy task :)