fix:1、添加h5 2、修复bug
This commit is contained in:
@@ -53,6 +53,8 @@ namespace ChillConnect
|
||||
|
||||
protected override void OnClose()
|
||||
{
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.StopArrowTouch, true);
|
||||
|
||||
// GameHelper.SetCloseResult(false);
|
||||
closeCallback?.Invoke();
|
||||
// if (IsLevelSuccess && !GameHelper.is_first_login)
|
||||
@@ -69,6 +71,7 @@ namespace ChillConnect
|
||||
private SuccessData successData_;
|
||||
protected override void OnOpenBefore(object args)
|
||||
{
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.StopArrowTouch, false);
|
||||
if (Screen.safeArea.y != 0)
|
||||
{//刘海屏
|
||||
ui.btn_gold.y += 68;
|
||||
@@ -76,7 +79,7 @@ namespace ChillConnect
|
||||
|
||||
var anim_paly = FXManager.Instance.SetFx<SkeletonAnimation>(ui.btn_gold.GetChild("gold_anim") as GGraph, Fx_Type.fx_coin, ref closeCallback);
|
||||
anim_paly.state.SetAnimation(0, "animation", true);
|
||||
(ui.top_money as com_money).btn_ch.title = GameHelper.getDesByKey("ch_out_1");
|
||||
((com_money)ui.top_money).btn_ch.title = GameHelper.getDesByKey("ch_out_1");
|
||||
if (GameHelper.IsGiftSwitch())
|
||||
ui.switchgift.selectedIndex = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user