fix init list
This commit is contained in:
@@ -58,7 +58,7 @@ MonoBehaviour:
|
||||
m_ContentStateBuildPathProfileVariableName: <default settings path>
|
||||
m_CustomContentStateBuildPath:
|
||||
m_ContentStateBuildPath:
|
||||
m_BuildAddressablesWithPlayerBuild: 0
|
||||
m_BuildAddressablesWithPlayerBuild: 2
|
||||
m_overridePlayerVersion: '[UnityEditor.PlayerSettings.bundleVersion]'
|
||||
m_GroupAssets:
|
||||
- {fileID: 11400000, guid: c99cbfd356e4d487b8da3554688ea241, type: 2}
|
||||
|
||||
@@ -27,9 +27,9 @@ namespace BrewMonster.UI
|
||||
[Header("State")]
|
||||
[SerializeField] private bool m_isEvil;
|
||||
|
||||
private readonly Dictionary<int, AUISubDialog> m_rankSubDialogs = new();
|
||||
private readonly List<CDlgSkillSubListItem> m_skillSubDialogs = new();
|
||||
private readonly Dictionary<int, CDlgSkillSubListItem> m_skillSubDialogsMap = new();
|
||||
private Dictionary<int, AUISubDialog> m_rankSubDialogs ;
|
||||
private List<CDlgSkillSubListItem> m_skillSubDialogs ;
|
||||
private Dictionary<int, CDlgSkillSubListItem> m_skillSubDialogsMap ;
|
||||
|
||||
private int m_skillSubCount; // 当前显示的技能数量 / Current shown skill count
|
||||
private float m_curBottom; // 当前底部位置 / Current bottom position
|
||||
@@ -49,6 +49,9 @@ namespace BrewMonster.UI
|
||||
{
|
||||
m_contentRoot = transform as RectTransform;
|
||||
}
|
||||
m_skillSubDialogsMap = new Dictionary<int, CDlgSkillSubListItem>();
|
||||
m_skillSubDialogs = new List<CDlgSkillSubListItem>();
|
||||
m_rankSubDialogs = new Dictionary<int, AUISubDialog>();
|
||||
EventBus.Subscribe<CECSkillPanelChange>(OnModelChange);
|
||||
CacheTemplateInfo();
|
||||
HideTemplates();
|
||||
@@ -274,9 +277,10 @@ namespace BrewMonster.UI
|
||||
return;
|
||||
}
|
||||
BMLogger.LogError("HoangDEv subListItem before update ");
|
||||
BMLogger.LogError("HoangDEv subListItem before2 update "+ subListItem);
|
||||
|
||||
subListItem.UpdateSkill(skillID);
|
||||
BMLogger.LogError("HoangDEv subListItem after update ");
|
||||
BMLogger.LogError("HoangDEv subListItem after update " + subListItem);
|
||||
|
||||
subListItem.Show(true);
|
||||
BMLogger.LogError("HoangDEv subListItem true");
|
||||
|
||||
Reference in New Issue
Block a user