调整psp和其他平台上,rom图片预览大图的模糊参数

This commit is contained in:
ALIENJACK\alien 2025-01-24 13:51:03 +08:00
parent 75d7e1f5a9
commit ae40e70f9c

View File

@ -41,10 +41,16 @@ namespace AxibugEmuOnline.Client
romPreviewWraper = new AlphaWraper(XMBCG_For_RomPreviewBigPic, RomPreviewBigPic.GetComponent<CanvasGroup>(), false);
var uiEffect = RomPreviewBigPic.GetComponent<UIEffect>();
if (Application.platform == RuntimePlatform.PSP2)
if (Application.platform == RuntimePlatform.PSP2)
{
uiEffect.blurMode = BlurMode.FastBlur;
else
uiEffect.blurFactor = 0.6f;
}
else
{
uiEffect.blurMode = BlurMode.DetailBlur;
uiEffect.blurFactor = 0.6f;
}
}
private void Start()