| System/Treasure/TreasureAnimation.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Treasure/TreasurePotentialPanel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
System/Treasure/TreasureAnimation.cs
@@ -81,7 +81,7 @@ public event Action<int> OnAchievementSfxComplete; public event Action OnAchievementTweenComplete; public event Action<int> OnUnlockPotentialComplete; public event Action<int> OnPotentialLevelUpComplete; public event Action<int,int> OnPotentialLevelUpComplete; public event Action<int> OnPotentialLineAnimComplete; TreasureShowStep m_Step = TreasureShowStep.None; @@ -181,7 +181,7 @@ } if (OnPotentialLevelUpComplete != null) { OnPotentialLevelUpComplete(_index); OnPotentialLevelUpComplete(_index, level); } stepComplete = true; //yield return null; System/Treasure/TreasurePotentialPanel.cs
@@ -271,7 +271,7 @@ } } private void OnPotentialLevelUpComplete(int _index) private void OnPotentialLevelUpComplete(int _index, int level) { var potential = m_Treasure.potentials[_index]; potentialBriefInfos[_index].DisplayStateSfx(); @@ -280,7 +280,7 @@ if (_nextPotential != 0) { var config = Config.Instance.Get<SkillConfig>(_nextPotential); if (potential.level == config.LearnSkillLV && potentialBriefInfos != null) if (level == config.LearnSkillLV && potentialBriefInfos != null) { for (int i = 0; i < potentialBriefInfos.Length; i++) {