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; namespace GameLogic { [Window(UILayer.UI)] class UIGameBattle : UIWindow { #region 脚本工具生成的代码 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; protected override void ScriptGenerator() { 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