Merge branch 'develop' of ssh://git.pthub.vn:3222/Unity/perfect-world-unity into feature-develop
This commit is contained in:
@@ -1823,6 +1823,7 @@ namespace BrewMonster
|
||||
/// If m_startingSkillID is set (>0), uses that specific skill ID and the next 7 (ID+1 through ID+7).
|
||||
/// Otherwise, cycles through all learned skills in groups of 8.
|
||||
/// </summary>
|
||||
#if UNITY_EDITOR
|
||||
public void CycleSkillShortcuts()
|
||||
{
|
||||
// Get shortcut set 1
|
||||
@@ -1921,6 +1922,7 @@ namespace BrewMonster
|
||||
CDlgQuickBar cDlgQuickBar = CECUIManager.Instance?.GetCDlgQuickBar();
|
||||
cDlgQuickBar?.UpdateShortcuts();
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
@@ -681,11 +681,13 @@ public class CECUIManager : MonoSingleton<CECUIManager>
|
||||
|
||||
public void OnChangeSkillShortcut()
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
CECHostPlayer hostPlayer = EC_Game.GetGameRun()?.GetHostPlayer();
|
||||
if (hostPlayer != null)
|
||||
{
|
||||
hostPlayer.CycleSkillShortcuts();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user