| System/HazyRegion/HazyRegionIncidentBehaviour.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/HazyRegion/HazyRegionIncidentPanel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
System/HazyRegion/HazyRegionIncidentBehaviour.cs
@@ -33,6 +33,9 @@ [SerializeField] Text m_PlayerCount; [SerializeField] Text m_RebornTime; [Header("宝藏")] [SerializeField] UIEffect m_TitleEffect; public UIAlphaTween alphaTween { get { return m_AlphaTween; } } public UILinerMove linerMove { get { return m_LinerMove; } } @@ -98,6 +101,14 @@ findPreciousModel.bossInfoUpdateEvent += BossInfoUpdateEvent; hazyDemonKingModel.onPlayerCountRefresh -= OnPlayerCountRefresh; hazyDemonKingModel.onPlayerCountRefresh += OnPlayerCountRefresh; m_TitleEffect.gameObject.SetActive(false); switch (incidentType) { case HazyRegionIncidentType.Precious: m_TitleEffect.gameObject.SetActive(true); break; } } void DisplayBase() System/HazyRegion/HazyRegionIncidentPanel.cs
@@ -85,6 +85,12 @@ { var lhs_config = HazyRegionConfig.Get(lhs); var rhs_config = HazyRegionConfig.Get(rhs); var lhs_precious = lhs_config.incidentType == (int)HazyRegionIncidentType.Precious; var rhs_precious = rhs_config.incidentType == (int)HazyRegionIncidentType.Precious; if (lhs_precious != rhs_precious) { return -lhs_precious.CompareTo(rhs_precious); } if (lhs_config.incidentType != rhs_config.incidentType) { return lhs_config.incidentType.CompareTo(rhs_config.incidentType);