PlayMaker Updates & Downloads > Share New Actions

GameObject Layer Switch

(1/1)

Dev_Sebas:
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

omgitstri:
This is amazing btw! I was actually disappointed to not find it in the ecosystem. I'm glad I looked this up.

jeanfabre:
Hi,

 the action is now available on the Ecosystem

 Bye,

 Jean

jeanfabre:
Hi,

 It is now on the Ecosystem :)

 Bye,

 Jean

djaydino:
Hi.
I noticed an issue on this action, so i updated the action :


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

Changed to :


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

Navigation

[0] Message Index

Go to full version