From 65507bbb4ce2975b7d2373d3de9d6e119c8a3644 Mon Sep 17 00:00:00 2001 From: "SD-20250415ABSO\\Administrator" Date: Thu, 24 Apr 2025 17:46:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=A8=AA=E7=89=88=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E5=88=97=E8=A1=A8=EF=BC=8C=E4=B8=8B=E4=B8=80=E6=AD=A5?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E8=AE=A1=E7=AE=97=E4=BB=96=E7=9A=84=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/AssetRaw/UI/UIGameBattle.prefab | 2 +- .../HotFix/GameLogic/Actor/ActorHItem.cs | 15 ++ .../HotFix/GameLogic/Actor/ActorHItem.cs.meta | 11 ++ .../GameLogic/Manager/DataGameSceneManager.cs | 8 +- .../HotFix/GameLogic/UI/UIGameBattle.cs | 8 +- .../Layouts/CurrentMaximizeLayout.dwlt | 156 +++++++++--------- 6 files changed, 114 insertions(+), 86 deletions(-) create mode 100644 UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs create mode 100644 UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs.meta diff --git a/UnityProject/Assets/AssetRaw/UI/UIGameBattle.prefab b/UnityProject/Assets/AssetRaw/UI/UIGameBattle.prefab index 5455a536..b4d5af76 100644 --- a/UnityProject/Assets/AssetRaw/UI/UIGameBattle.prefab +++ b/UnityProject/Assets/AssetRaw/UI/UIGameBattle.prefab @@ -1287,7 +1287,7 @@ GameObject: m_Component: - component: {fileID: 1950349943801813264} m_Layer: 5 - m_Name: HItem + m_Name: m_itemActorHItem m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs new file mode 100644 index 00000000..56b122d3 --- /dev/null +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs @@ -0,0 +1,15 @@ +using System.Collections; +using System.Collections.Generic; +using TEngine; +using UnityEngine; + +namespace GameLogic +{ + public class ActorHItem : UIWidget + { + protected override void OnCreate() + { + base.OnCreate(); + } + } +} diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs.meta b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs.meta new file mode 100644 index 00000000..240d9bf2 --- /dev/null +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: cb14f5d0db6ad1940ace047925a1e2c6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs index 20aa3991..675c22e3 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs @@ -15,7 +15,7 @@ namespace GameLogic private Transform teamList; private Dictionary m_DicUnitPlayerDatas = new Dictionary(); //局内玩家数据 - // private List m_TeamSortList = new List(); // 用于排序的阵营列表数据 + public List m_TeamSortList = new List(); // 用于排序的阵营列表数据 public float m_GameTimerLen = 0; public List m_Strs = new List() { "陈", "王", "李", "张", "刘", "杨", "黄", "赵", "吴", "周", "徐", "孙", "马", "朱", "胡","何","林","高","罗","郑", @@ -65,11 +65,7 @@ namespace GameLogic private void InitGameTeam() { - // 根据配置表注册,注册初始化阵营 - for (int i = 0; i < m_Strs.Count; i++) - { - - } + } #endregion diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs index d232d247..2a142efb 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs @@ -19,6 +19,7 @@ namespace GameLogic private Button m_btnSetting; private Button m_btnRank; private RectTransform m_rectHPanel; + private GameObject m_itemActorHItem; protected override void ScriptGenerator() { m_tmpTimer = FindChildComponent("Bg/Top/TopImg/m_tmpTimer"); @@ -27,6 +28,7 @@ namespace GameLogic m_btnSetting = FindChildComponent