Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: pietwelve on November 27, 2013, 04:31:40 PM

Title: Use Lightmaps On/Off
Post by: pietwelve on November 27, 2013, 04:31:40 PM
Hi,
I have baked the Lightmaps of my scene.
I can check/uncheck "Use Lightmaps"  in the Unity "Lightmap Display".
Is there an action to do the same with playmaker when playing the game ?
Thanks
Title: Re: Use Lightmaps On/Off
Post by: uberwolfe on November 27, 2013, 11:42:13 PM
Hi!

To my knowledge, this can't be done without the use of a Custom Action.

So I have written one (attached). It's relatively untested, cheers :)

[edit: Updated custom action]
Title: Re: Use Lightmaps On/Off
Post by: pietwelve on December 01, 2013, 02:41:21 AM
So i'll test it !!
Thanks a lot
Best Regards
Title: Re: Use Lightmaps On/Off
Post by: pietwelve on December 02, 2013, 04:47:37 PM
I did test it.
It works fine with me !
Thanks again
Title: Re: Use Lightmaps On/Off
Post by: uberwolfe on December 02, 2013, 09:04:07 PM
Great, glad it helped :)