using UnityEngine; using UnityEngine.UI; using TEngine; using System.Collections.Generic; using GameConfig.giftConfig; using System.Threading.Tasks; using Cysharp.Threading.Tasks; namespace GameLogic { [Window(UILayer.UI)] class UIGameBattle : UIWindow { #region 脚本工具生成的代码 private RectTransform m_rect_TopPanel; private Image m_img_topTitle; private Text m_text_ScoreValue; private Text m_text_WinValue; private Text m_text_TopTitle; private Text m_text_TimerValue; private Button m_btn_Setting; private Button m_btn_Rank; private Button m_btn_Back; private Image m_img_TopHeadBg; private Image m_img_TopHeadIcon; private Text m_text_topName; private RectTransform m_rect_GiftList; private Image m_img_GiftImg; private RectTransform m_rect_List; private Button m_btn_GameStart; private RectTransform m_rect_JiaRuPanel; private RectTransform m_rect_TopTips; private RectTransform m_rect_GiftPanel; protected override void ScriptGenerator() { m_rect_TopPanel = FindChildComponent("m_rect_TopPanel"); m_img_topTitle = FindChildComponent("m_rect_TopPanel/m_img_topTitle"); m_text_ScoreValue = FindChildComponent("m_rect_TopPanel/m_text_ScoreValue"); m_text_WinValue = FindChildComponent("m_rect_TopPanel/m_text_WinValue"); m_text_TopTitle = FindChildComponent("m_rect_TopPanel/m_text_TopTitle"); m_text_TimerValue = FindChildComponent("m_rect_TopPanel/m_text_TimerValue"); m_btn_Setting = FindChildComponent