playMaker

Author Topic: Layer Masks in Custom Actions  (Read 1707 times)

tcmeric

  • Sr. Member
  • ****
  • Posts: 480
    • View Profile
Layer Masks in Custom Actions
« on: June 28, 2017, 01:41:16 AM »
I am trying to get layer masks working in a custom action. I see that the raycast action just uses a layer mask int. Is there any way to get the correct editor enum for layers working in a playmaker action?

Any example actions of this working?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Layer Masks in Custom Actions
« Reply #1 on: July 04, 2017, 02:56:56 AM »
Hi,

 this is tricky, can you tell me which layer mask you want to access exactly, I'll check it out, else, you have to come up with your own custom property drawer, I did it for PathFinding Actions, it's a pain, but code sample is available.

Bye,

 Jean