From c0ae876581daaef78f5f10559e7b198cd019f424 Mon Sep 17 00:00:00 2001 From: "ALIENJACK\\alien" Date: Tue, 7 Jan 2025 17:01:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E7=B3=8A=E6=95=88=E6=9E=9C=E5=9C=A8ps?= =?UTF-8?q?v=E4=B8=8A=E4=BD=BF=E7=94=A8=E5=BB=89=E4=BB=B7=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Coffee/UIExtensions/UIEffect/Scripts/UIEffect.cs | 2 +- .../Assets/Script/AppMain/UI/LaunchUI.cs | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/AxibugEmuOnline.Client/Assets/Plugins/Coffee/UIExtensions/UIEffect/Scripts/UIEffect.cs b/AxibugEmuOnline.Client/Assets/Plugins/Coffee/UIExtensions/UIEffect/Scripts/UIEffect.cs index badda376..f0490ca8 100644 --- a/AxibugEmuOnline.Client/Assets/Plugins/Coffee/UIExtensions/UIEffect/Scripts/UIEffect.cs +++ b/AxibugEmuOnline.Client/Assets/Plugins/Coffee/UIExtensions/UIEffect/Scripts/UIEffect.cs @@ -190,7 +190,7 @@ namespace Coffee.UIExtensions /// /// Blur effect mode(readonly). /// - public BlurMode blurMode { get { return m_BlurMode; } } + public BlurMode blurMode { get { return m_BlurMode; }set { m_BlurMode = value; } } /// /// Color for the color effect. diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/LaunchUI.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/LaunchUI.cs index d279cd91..999f503b 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/LaunchUI.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/LaunchUI.cs @@ -1,5 +1,6 @@ using AxibugEmuOnline.Client.ClientCore; using AxibugEmuOnline.Client.UI; +using Coffee.UIExtensions; using DG.Tweening; using DG.Tweening.Core; using DG.Tweening.Plugins.Options; @@ -38,6 +39,12 @@ namespace AxibugEmuOnline.Client m_mainLayoutPosition = MainMenuRoot.anchoredPosition; MainMenu.ListenControlAction = true; romPreviewWraper = new AlphaWraper(XMBCG_For_RomPreviewBigPic, RomPreviewBigPic.GetComponent(), false); + + var uiEffect = RomPreviewBigPic.GetComponent(); + if (Application.platform == RuntimePlatform.PSP2) + uiEffect.blurMode = BlurMode.FastBlur; + else + uiEffect.blurMode = BlurMode.DetailBlur; } private void Start()