Playmaker Forum

PlayMaker Updates & Downloads => Official Action Updates => Topic started by: Alex Chouls on December 19, 2011, 12:33:55 PM

Title: Set Camera Culling Mask
Post by: Alex Chouls on December 19, 2011, 12:33:55 PM
Note, you can use Set Property, but since the Culling Mask is an int, it's not very user friendly!

Here's a custom action with a nicer UI. The standard Unity LayerMask editor is not exposed to editor scripts, so this UI works a little differently. The layer mask is an array, so set the number of layers first, then fill in the layers.
Title: Re: Set Camera Culling Mask
Post by: Ghosu on January 04, 2016, 02:28:37 AM
UPDATE: SOLVED, reloaded project and reset, still not working. Reloaded again, now it works fine - strange, but who cares as long as it does its job now :D THX



Hello

Just what i needed, though it's not working in my project:

cullingMask in camera.cullingMask is highlighted red and i get a compile error (without error log entry) when starting play mode (see attached image)

Greetings