hch
2 天以前 d22a2cf47f8015dde7227d45b13833300dd2a8e6
Main/System/Launch/LaunchBackGroundWin.cs
@@ -8,8 +8,8 @@
public class LaunchBackGroundWin : UIBase
{
    // 组件引用
    [SerializeField] RectTransform m_StaticBackGround;
    [SerializeField] Image m_BackGroundImage;
    // [SerializeField] RectTransform m_StaticBackGround;
    // [SerializeField] Image m_BackGroundImage;
    [SerializeField] TextEx info;
    // 生命周期
    protected override void Awake()
@@ -33,10 +33,10 @@
        LoginManager.Instance.loginErrorEvent += OnLoginError;
        var sprite = BuiltInLoader.LoadSprite("LoginBackGround");
        m_BackGroundImage.overrideSprite = sprite;
        // var sprite = BuiltInLoader.LoadSprite("LoginBackGround");
        // m_BackGroundImage.overrideSprite = sprite;
        //m_BackGroundImage.preserveAspect = true;
        m_StaticBackGround.SetActive(true);
        // m_StaticBackGround.SetActive(true);
        this.transform.SetAsFirstSibling();
        info.text = LoginManager.Instance.loginErrorInfo;