playMaker

Author Topic: Set As Last / First Sibling ( Child )  (Read 3738 times)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Set As Last / First Sibling ( Child )
« on: July 28, 2015, 09:20:39 AM »
Hi,
I made this actions to use and sort child objects in my shop menu.

What is does is set the object as last / first position inside a parent inside your hierarchy

i have not tested this a lot yet so please let me know if it is good or not good.

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 713
    • Flashing Lights
Re: Set As Last / First Sibling ( Child )
« Reply #1 on: July 28, 2015, 11:00:29 AM »
Hi, I notice there are these two actions in the Ecosystem, are they different?
Actions comes with uGUI Dynamic List sample.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Set As Last / First Sibling ( Child )
« Reply #2 on: July 28, 2015, 08:19:45 PM »
Hi,
Thanks, checked it and yes they are close to the same so i won't add these to the Ecosystem

i just did not found them @ the time i needed them, as i was looking for "child" and not "sibling"

maybe we need to find a way to set keywords into custom actions to help find some things more easy?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Set As Last / First Sibling ( Child )
« Reply #3 on: July 29, 2015, 01:10:59 AM »
Hi,

 To set keywords is very easy, you simply add the words in a comment, since the ecosystem does a full text search on all script content.

You have a good point on Sibling/child. I have updated the code to feature the "child" word.


Bye,

 Jean

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Set As Last / First Sibling ( Child )
« Reply #4 on: July 29, 2015, 07:23:58 PM »
Hi,
good to know that.
thanks jean.