diff --git a/Assets/ChillConnect/FGUI/package/AddCell_12/com_addView.cs b/Assets/ChillConnect/FGUI/package/AddCell_12/com_addView.cs index 1dd3787..5a24327 100644 --- a/Assets/ChillConnect/FGUI/package/AddCell_12/com_addView.cs +++ b/Assets/ChillConnect/FGUI/package/AddCell_12/com_addView.cs @@ -8,6 +8,7 @@ namespace FGUI.AddCell_12 public partial class com_addView : GComponent { public Controller pay_type; + public Controller gift; public GTextField title; public GButton btn_close; public GButton btn_watch; @@ -27,6 +28,7 @@ namespace FGUI.AddCell_12 base.ConstructFromXML(xml); pay_type = GetControllerAt(0); + gift = GetControllerAt(1); title = (GTextField)GetChildAt(7); btn_close = (GButton)GetChildAt(9); btn_watch = (GButton)GetChildAt(10); diff --git a/Assets/Resources/ChillConnectAssets/FGUI/AddCell_12_fui.bytes b/Assets/Resources/ChillConnectAssets/FGUI/AddCell_12_fui.bytes index eecb6dc..3817c42 100644 Binary files a/Assets/Resources/ChillConnectAssets/FGUI/AddCell_12_fui.bytes and b/Assets/Resources/ChillConnectAssets/FGUI/AddCell_12_fui.bytes differ diff --git a/Assets/Scripts/ModuleUI/AddView/AddViewUI.cs b/Assets/Scripts/ModuleUI/AddView/AddViewUI.cs index e976b23..669d3ba 100644 --- a/Assets/Scripts/ModuleUI/AddView/AddViewUI.cs +++ b/Assets/Scripts/ModuleUI/AddView/AddViewUI.cs @@ -62,7 +62,10 @@ namespace ChillConnect if (args != null) need_open_turn = (bool)args; // ad_cool_down = ConfigSystem.GetConfig().exchangeCD; // btn_WatchAd = ui.btn_watch as btn_watchAd; - + if (!GameHelper.IsGiftSwitch()) + { + GameHelper.GetCommonModel().addspace=1; + } if (GameHelper.IsAdModelOfPay()) { if (GameHelper.IsGiftSwitch() && ConfigSystem.GetConfig().PiggyBankSwitch == 1) diff --git a/Assets/Scripts/ModuleUI/GameLogin/GameLoginUI.cs b/Assets/Scripts/ModuleUI/GameLogin/GameLoginUI.cs index b9ac1f9..dbd6fd5 100644 --- a/Assets/Scripts/ModuleUI/GameLogin/GameLoginUI.cs +++ b/Assets/Scripts/ModuleUI/GameLogin/GameLoginUI.cs @@ -104,18 +104,20 @@ namespace ChillConnect ui.lab_reward.text = "reward:" + MaxADKit.rewardedADUnitID; ui.lab_key.text = "sdkKey:" + MaxADKit.SDKKey; #if GAME_RELEASE - ui.btn_space.visible = false; + // ui.btn_space.visible = false; ui.btn_error.visible = false; ui.lab_int.visible = false; ui.lab_reward.visible = false; ui.lab_key.visible = false; #endif } + int numbers = 0; private void OnclickSpace() { // Debug.Log("OnclickSpace"); #if !UNITY_EDITOR - MaxSdk.ShowMediationDebugger(); +numbers++; +if(numbers>5) MaxSdk.ShowMediationDebugger(); #endif } int[] test = new int[5]; diff --git a/Assets/Scripts/ModuleUI/PassView/PassViewUI.cs b/Assets/Scripts/ModuleUI/PassView/PassViewUI.cs index ec00b13..d005d60 100644 --- a/Assets/Scripts/ModuleUI/PassView/PassViewUI.cs +++ b/Assets/Scripts/ModuleUI/PassView/PassViewUI.cs @@ -62,7 +62,6 @@ namespace ChillConnect // ui.bg.y += 68; ui.group_top.y += 68; } - var anim_paly = FXManager.Instance.SetFx(ui.gold.GetChild("gold_anim") as GGraph, Fx_Type.fx_coin, ref closeCallback); anim_paly.state.SetAnimation(0, "animation", true);