using UnityEngine; using UnityEngine.UI; using TEngine; using System.Collections.Generic; using GameConfig.giftConfig; using System.Threading.Tasks; using Cysharp.Threading.Tasks; using TMPro; using Coffee.UIExtensions; using UnityEngine.Video; using System.Xml.Linq; using System; namespace GameLogic { [Window(UILayer.UI)] class UIGameBattle : UIWindow { #region 脚本工具生成的代码 private RectTransform m_rectTopFx; private RectTransform m_rectSdx; private RectTransform m_rectSceneFx; private RectTransform m_rectSpeed; private RectTransform m_rectBgList; private Image m_img_BT; private TextMeshProUGUI m_tmpTimer; private TextMeshProUGUI m_tmpWinPoint; private TextMeshProUGUI m_tmpScoreAll; private Button m_btnSetting; private Button m_btnRank; private RectTransform m_rectHPanel; private GameObject m_itemActorHItem; private RectTransform m_rect_GiftPanel; private RawImage m_rimgHeadIcon; private TextMeshProUGUI m_tmpPlayName; private TextMeshProUGUI m_tmpTeamName; private TextMeshProUGUI m_tmpGiftMsg; private Image m_imgGiftImg; private TextMeshProUGUI m_tmpCount; private RawImage m_rimg_ViewTexture; private VideoPlayer m_video_Video; private RectTransform m_rect_Dz; private TextMeshProUGUI m_tmp_PlayerName; private RectTransform m_rectGjsk; private Image m_img_HuangJinShiDai; private VideoPlayer m_video_SjVideo; private RawImage m_rimg_ViewSjTexture; private Text m_textHuangJinInfo; private Button m_btn_StartBtn; private RectTransform m_rect_ShiJian; private Image m_img_JinDu; private TextMeshProUGUI m_tmp_ShiJian; private TextMeshProUGUI m_tmp_ShiJianValue; private Image m_imgShiJianSign; protected override void ScriptGenerator() { m_rectTopFx = FindChildComponent("Bg/m_rectTopFx"); m_rectSdx = FindChildComponent("Bg/m_rectSdx"); m_rectSceneFx = FindChildComponent("Bg/m_rectSceneFx"); m_rectSpeed = FindChildComponent("Bg/m_rectSpeed"); m_rectBgList = FindChildComponent("Bg/m_rectBgList"); m_img_BT = FindChildComponent("Bg/Top/m_img_BT"); m_tmpTimer = FindChildComponent("Bg/Top/m_img_BT/m_tmpTimer"); m_tmpWinPoint = FindChildComponent("Bg/Top/m_img_BT/m_tmpWinPoint"); m_tmpScoreAll = FindChildComponent("Bg/Top/m_img_BT/m_tmpScoreAll"); m_btnSetting = FindChildComponent