Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: TommyA on August 01, 2013, 03:40:06 AM

Title: Activate / Deactivate[SOLVED]
Post by: TommyA on August 01, 2013, 03:40:06 AM
Hi,
When I activate / deactivate gameobjects, I use "Activate Game Object" action.
I works good but it affect to whole childs if I use recursive option.
If I activate parent via this action, all of childs is activated.
But if I have gameobject hierarchy which has activated and deactivated childs, and I just want to turn on/off parent so even if I turn on only parent, I want deactivated childs still be remained as deactivated.
Any advice?
Title: Re: Activate / Deactivate
Post by: jeanfabre on August 02, 2013, 09:40:37 AM
Hi,

 I tested, and that works. I use "Activate GameObject", and uncheck "recursive" and that works, childs keep their active state unchanged.

 Are you on unity 3 or 4?

bye,

 Jean
Title: Re: Activate / Deactivate
Post by: TommyA on August 02, 2013, 11:47:12 PM
Hi Jean
Sorry I test again and it works correctly.
I use Unity4.x version.
As I remember in Unity3.5x, When I used activate action, it activated/deactivated only parent object. My memory might be wrong but I misunderstood this action.
Anyway sorry again for waste your time.  ;)
Thank you.
Title: Re: Activate / Deactivate[SOLVED]
Post by: jeanfabre on August 05, 2013, 07:21:21 AM
Hi,

 no worries  :)

bye,

 Jean