forked from sin365/AxibugEmuOnline
调整psp和其他平台上,rom图片预览大图的模糊参数
This commit is contained in:
parent
75d7e1f5a9
commit
ae40e70f9c
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user