fix:1、修复bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user