playMaker

Author Topic: Use Lightmaps On/Off  (Read 2950 times)

pietwelve

  • Junior Playmaker
  • **
  • Posts: 70
Use Lightmaps On/Off
« 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

uberwolfe

  • Junior Playmaker
  • **
  • Posts: 59
Re: Use Lightmaps On/Off
« Reply #1 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]
« Last Edit: July 13, 2023, 06:48:11 PM by uberwolfe »

pietwelve

  • Junior Playmaker
  • **
  • Posts: 70
Re: Use Lightmaps On/Off
« Reply #2 on: December 01, 2013, 02:41:21 AM »
So i'll test it !!
Thanks a lot
Best Regards

pietwelve

  • Junior Playmaker
  • **
  • Posts: 70
Re: Use Lightmaps On/Off
« Reply #3 on: December 02, 2013, 04:47:37 PM »
I did test it.
It works fine with me !
Thanks again

uberwolfe

  • Junior Playmaker
  • **
  • Posts: 59
Re: Use Lightmaps On/Off
« Reply #4 on: December 02, 2013, 09:04:07 PM »
Great, glad it helped :)