playMaker

Author Topic: Set layer with variable?  (Read 1889 times)

Maxi

  • Playmaker Newbie
  • *
  • Posts: 41
Set layer with variable?
« on: September 13, 2016, 04:33:54 AM »
Hi,

I am a bit confused why this is not possible: I can 'Get Layer' of a GameObject and save it as an int-variable, but why can I not 'Set Layer' using this variable? Or am I missing something?

Thanks everyone

terri

  • Sr. Member
  • ****
  • Posts: 389
    • terrivellmann.tumblr.com
Re: Set layer with variable?
« Reply #1 on: September 13, 2016, 08:15:20 PM »
try this

Maxi

  • Playmaker Newbie
  • *
  • Posts: 41
Re: Set layer with variable?
« Reply #2 on: September 14, 2016, 04:13:22 AM »
Yea it works! Thank you very much  ;D