playMaker

Author Topic: ActivateChildren  (Read 2442 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
ActivateChildren
« on: September 09, 2015, 04:18:22 AM »
Hi,

 Ok, this action will help you control activation depth when doing recursive activation on childrens.

 so you'll be able to choose when the recursion should stop, you can for example only activate/deactive the direct children, or 2 3 any number of depth, -1 will do a full recursion on all children.

 It's available on the Ecosystem

ActivateChildren

 Bye,

 Jean

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Re: ActivateChildren
« Reply #1 on: June 10, 2016, 01:14:04 PM »
Hi jean

Ive been using this script in Unity 4 and now it wont work on Unity 5. Says 'NullReferenceException: Object reference not set to an instance of an object'

Nick

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: ActivateChildren
« Reply #2 on: June 16, 2016, 03:56:24 AM »
Hi,

 It works in my tests. I could not default it...

Maybe you are deleted one of this object at the same time?

 can you paste the full log error so that I know which line exactly is getting a problem?

Bye,

 Jean