fix:1、修复bug

This commit is contained in:
2026-05-27 09:32:33 +08:00
parent 5f68fe42c1
commit d4f6b82209
27 changed files with 388 additions and 379 deletions
+9 -9
View File
@@ -231,10 +231,10 @@ namespace RedHotRoast
{
uiCtrlDispatcher.Dispatch(UICtrlMsg.ScAlbumLockUI_Open);
}
else if (unlocklist[random_index] == 2)
{
uiCtrlDispatcher.Dispatch(UICtrlMsg.ChatUnlockUI_Open);
}
// else if (unlocklist[random_index] == 2)
// {
// uiCtrlDispatcher.Dispatch(UICtrlMsg.ChatUnlockUI_Open);
// }
}
}
@@ -246,13 +246,13 @@ namespace RedHotRoast
ui.btn_add.t0.Play();
SkeletonAnimation ske_pot = FXManager.Instance.SetFx<SkeletonAnimation>((ui.btn_chat as btn_chat).ani_parent, Fx_Type.fx_btnchat, ref closeCallback);
ske_pot.state.SetAnimation(0, "animation", true);
ui.btn_chat.SetClick(() =>
{
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.ChatChooseUI_Open);
});
// ui.btn_chat.SetClick(() =>
// {
// UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.ChatChooseUI_Open);
// });
if (GameHelper.IsGiftSwitch() && GameHelper.GetCommonModel().Assitant == 1 && GameHelper.GetLevel() >= GameHelper.GetCommonModel().AssitantPreview)
{
ui.btn_chat.visible = true;
// ui.btn_chat.visible = true;
}
}
private void OnBackToHall(object obj = null)