using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; using UnityEngine.UI; // DOTween 插件引用 using Cysharp.Threading.Tasks; using System; public class OneLevelWin : UIBase { protected Image m_TitleIcon; protected FunctionButtonGroup m_Group; protected Button m_Left; protected Button m_Right; protected Button m_Close; protected Text m_Copper; protected Text m_Diamond; protected Text m_BindDiamond; protected RectTransform m_SubWindowContainer; public RectTransform subWindowContainer { get { return m_SubWindowContainer; } } private UIBase subWindow = null; // init once protected override void InitComponent() { base.InitComponent(); // // 跟原版的差别 Transform trans = transform; // if (_rectTransform != null) // { // trans = _rectTransform; // } m_TitleIcon = trans.GetComponent("Pivot/Container_BackGround/Img_Title"); m_Group = trans.GetComponent("Pivot/Container_Functions"); m_Left = trans.GetComponent