fix:1、添加h5 2、修复bug

This commit is contained in:
2026-06-24 17:59:07 +08:00
parent 7846543d1b
commit d2741d39be
40 changed files with 596 additions and 227 deletions
@@ -221,9 +221,12 @@ namespace ChillConnect
public override void OnUpdate()
{
// Update 里判断改为:
// 禁用输入时,直接跳过拖拽
if (_inputDisableCount > 0)
{
// Debug.Log($"输入已禁用,直接跳过拖拽");
return;
}
// 初始化未完成,直接跳过拖拽
if (!_initComplete)
@@ -360,6 +363,8 @@ namespace ChillConnect
_remainArrowCount = _levelConfig.arrows.Count;
InitView();
((com_money)ui.com_money).btn_ch.title = GameHelper.getDesByKey("ch_out_1");
}
protected override void OnOpen(object args)
@@ -727,12 +732,15 @@ namespace ChillConnect
/// </summary>
private void TriggerBlockFlash()
{
ui.t1.Play();
// 先终止正在播放的动画,避免叠加错乱
ui.com_ficker.visible = true;
ui.com_ficker.t0.Play(() =>
{
ui.com_ficker.visible = false;
});
}
#endregion