fix:1、修复bug
This commit is contained in:
@@ -184,10 +184,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);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,15 +196,15 @@ namespace RedHotRoast
|
||||
Setbg();
|
||||
if (GameHelper.IsGiftSwitch() && GameHelper.GetCommonModel().Assitant == 1 && GameHelper.GetLevel() >= GameHelper.GetCommonModel().AssitantPreview)
|
||||
{
|
||||
ui.btn_chat.visible = true;
|
||||
// ui.btn_chat.visible = true;
|
||||
SkeletonAnimation ske_pot = FXManager.Instance.SetFx<SkeletonAnimation>(ui.btn_chat.GetChild("ani_parent") as GGraph, Fx_Type.fx_btnchat, ref closeCallback);
|
||||
ske_pot.state.SetAnimation(0, "animation", true);
|
||||
ui.btn_chat.SetClick(() =>
|
||||
{
|
||||
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.ChatChooseUI_Open);
|
||||
Log.Info("Hall", $"{GameHelper.GetLevel()}/{GameHelper.GetCommonModel().UnlockSecret[1]}/{DataMgr.IsUnlockSecret.Value}");
|
||||
});
|
||||
// ui.btn_chat.SetClick(() =>
|
||||
// {
|
||||
//
|
||||
// UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.ChatChooseUI_Open);
|
||||
// Log.Info("Hall", $"{GameHelper.GetLevel()}/{GameHelper.GetCommonModel().UnlockSecret[1]}/{DataMgr.IsUnlockSecret.Value}");
|
||||
// });
|
||||
}
|
||||
|
||||
}
|
||||
@@ -522,10 +522,7 @@ namespace RedHotRoast
|
||||
|
||||
ui.btn_live.SetClick(() =>
|
||||
{
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.SecretUnlockUI_Open);
|
||||
|
||||
// UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.LiveUI_Open);
|
||||
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.LiveUI_Open);
|
||||
});
|
||||
ui.btn_secret.title = "LV." + GameHelper.GetCommonModel().UnlockSecret[1];
|
||||
ui.btn_secret.SetClick(() =>
|
||||
|
||||
Reference in New Issue
Block a user