public void MarkSceneEdited(SceneModule sceneModule) { var spline = Object.Find <Spline>(ref SplineId); sceneModule.MarkSceneEdited(spline.Scene); OnSplineEdited(spline); }
void ISceneEditAction.MarkSceneEdited(SceneModule sceneModule) { var data = Data; for (int i = 0; i < data.Selection.Length; i++) { sceneModule.MarkSceneEdited(data.Selection[i].ParentScene); } }
/// <inheritdoc /> public void MarkSceneEdited(SceneModule sceneModule) { var script = FlaxEngine.Object.Find <Script>(ref _scriptId); if (script != null) { sceneModule.MarkSceneEdited(script.Scene); } }
/// <inheritdoc /> public void MarkSceneEdited(SceneModule sceneModule) { var spline = FlaxEngine.Object.Find <Spline>(ref _splineId); if (spline != null) { sceneModule.MarkSceneEdited(spline.Scene); } }
/// <summary> /// Clears the lightmaps linkage for all open scenes. /// </summary> public void ClearLightmaps() { var scenes = SceneManager.Scenes; for (int i = 0; i < scenes.Length; i++) { scenes[i].ClearLightmaps(); } Scene.MarkSceneEdited(scenes); }