Clears the lightmaps linkage for all open scenes.
()
| 1334 | /// Clears the lightmaps linkage for all open scenes. |
| 1335 | /// </summary> |
| 1336 | public void ClearLightmaps() |
| 1337 | { |
| 1338 | var scenes = Level.Scenes; |
| 1339 | for (int i = 0; i < scenes.Length; i++) |
| 1340 | { |
| 1341 | scenes[i].ClearLightmaps(); |
| 1342 | } |
| 1343 | |
| 1344 | Scene.MarkSceneEdited(scenes); |
| 1345 | } |
| 1346 | |
| 1347 | /// <summary> |
| 1348 | /// Bakes all environmental probes in the scene. |