update UI. add more developed feature into UI

This commit is contained in:
Chomper9981
2026-02-27 17:27:26 +07:00
parent ee4fe6891b
commit b73de9553e
15 changed files with 779 additions and 200 deletions
+16
View File
@@ -519,6 +519,22 @@ public class CECUIManager : MonoSingleton<CECUIManager>
pSC.Execute();
}
}
public void OnClickFly()
{
CECHostPlayer hostPlayer = EC_Game.GetGameRun()?.GetHostPlayer();
if (hostPlayer != null)
{
hostPlayer.CmdFly(true);
}
}
public void OnChangeSkillShortcut()
{
CECHostPlayer hostPlayer = EC_Game.GetGameRun()?.GetHostPlayer();
if (hostPlayer != null)
{
hostPlayer.CycleSkillShortcuts();
}
}
/// <summary>
/// Handle second-click button click - triggers attack or move to NPC / 处理第二次点击按钮 - 触发攻击或移动到NPC