private static void ExecuteAll() { if (!m_editorDialog.OpenYesNo("すべてのシーンの Skybox Material を null にしますか?")) { return; } SceneProcessor.ProcessAllScenes(OnProcess); m_editorDialog.OpenOk("すべてのシーンの Skybox Material を null にしました"); }
private static void ExecuteAll() { if (!m_editorDialog.OpenYesNo("すべてのシーンの Global Illumination を無効化しますか?")) { return; } SceneProcessor.ProcessAllScenes(OnProcess); m_editorDialog.OpenOk("すべてのシーンの Global Illumination を無効化しました"); }
private static void ExecuteBy() { if (!m_editorDialog.OpenYesNo("Project Settings で設定されているシーンの Skybox Material を null にしますか?")) { return; } var settings = AllSceneSkyboxMaterialRemoverSettings.Load(); SceneProcessor.ProcessAllScenes ( scenePathFilter: scenePath => settings.ScenePathFilter.Any(x => scenePath.StartsWith(x)), onProcess: OnProcess ); m_editorDialog.OpenOk("Project Settings で設定されているシーンの Skybox Material を null にしました"); }
private static void ExecuteBy() { if (!m_editorDialog.OpenYesNo("Project Settings で設定されているシーンの Global Illumination を無効化しますか?")) { return; } var settings = AllSceneGlobalIlluminationDisablerSettings.Load(); SceneProcessor.ProcessAllScenes ( scenePathFilter: scenePath => settings.ScenePathFilter.Any(x => scenePath.StartsWith(x)), onProcess: OnProcess ); m_editorDialog.OpenOk("Project Settings で設定されているシーンの Global Illumination を無効化しました"); }