Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: Dev_Sebas on December 22, 2013, 01:19:34 PM

Title: GameObject Layer Switch
Post by: Dev_Sebas on December 22, 2013, 01:19:34 PM
Hi guys!
Just finished this action. Copied from GameObject Tag Switch.
I noticed that was not available yet.
For me is better than get layer as int and then make an int switch.
Keep working!
Cheers
Seb
Title: Re: GameObject Layer Switch
Post by: omgitstri on December 05, 2017, 02:01:25 PM
This is amazing btw! I was actually disappointed to not find it in the ecosystem. I'm glad I looked this up.
Title: Re: GameObject Layer Switch
Post by: jeanfabre on December 06, 2017, 03:03:30 AM
Hi,

 the action is now available on the Ecosystem

 Bye,

 Jean
Title: Re: GameObject Layer Switch
Post by: jeanfabre on December 08, 2017, 01:55:42 AM
Hi,

 It is now on the Ecosystem :)

 Bye,

 Jean
Title: Re: GameObject Layer Switch
Post by: djaydino on May 13, 2018, 08:39:03 AM
Hi.
I noticed an issue on this action, so i updated the action :

Code: [Select]
Line 53  var go = gameObject.Value.layer;
Line 61  if (go== layer[i].Value)

Changed to :

Code: [Select]
Line 53  var go = gameObject.Value;
Line 61  if (go.layer == layer[i].Value)