模糊效果在psv上使用廉价版本
This commit is contained in:
parent
5a303cf1e8
commit
c0ae876581
@ -190,7 +190,7 @@ namespace Coffee.UIExtensions
|
||||
/// <summary>
|
||||
/// Blur effect mode(readonly).
|
||||
/// </summary>
|
||||
public BlurMode blurMode { get { return m_BlurMode; } }
|
||||
public BlurMode blurMode { get { return m_BlurMode; }set { m_BlurMode = value; } }
|
||||
|
||||
/// <summary>
|
||||
/// Color for the color effect.
|
||||
|
@ -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<CanvasGroup>(), false);
|
||||
|
||||
var uiEffect = RomPreviewBigPic.GetComponent<UIEffect>();
|
||||
if (Application.platform == RuntimePlatform.PSP2)
|
||||
uiEffect.blurMode = BlurMode.FastBlur;
|
||||
else
|
||||
uiEffect.blurMode = BlurMode.DetailBlur;
|
||||
}
|
||||
|
||||
private void Start()
|
||||
|
Loading…
Reference in New Issue
Block a user