Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: serenefox on May 15, 2015, 05:35:10 AM
-
Hello,
I was wondering if there was any way to get an object variable to be of the type "Layermask". I am using Call Method and one of the parameters on the script is Layermask but i can't seem to find it on the drop down list. I attached an image hopefully it can explain what I am going for.
Thanks!
-
Layers are actually defined as integers, it can be very confusing if you're accustomed to the fancy dropdowns that are made in custom inspectors.
I don't think there is a simple way to fix the drop-down in this case, so you may be stuck with integers here unless someone corrects me on this.
-
Thanks for the reply Lane.
Yeah for what I am doing I need a Layermask parameter. If all else fails I guess I could try to write my player controls in c# without playmaker. If there is a way to do this with playmaker I would still like to know though.