a面提交

This commit is contained in:
2026-06-01 15:31:50 +08:00
parent aa06dbdb04
commit 1b2fed64bf
5 changed files with 10 additions and 4 deletions
@@ -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);
+4 -1
View File
@@ -62,7 +62,10 @@ namespace ChillConnect
if (args != null) need_open_turn = (bool)args;
// ad_cool_down = ConfigSystem.GetConfig<CommonModel>().exchangeCD;
// btn_WatchAd = ui.btn_watch as btn_watchAd;
if (!GameHelper.IsGiftSwitch())
{
GameHelper.GetCommonModel().addspace=1;
}
if (GameHelper.IsAdModelOfPay())
{
if (GameHelper.IsGiftSwitch() && ConfigSystem.GetConfig<CommonModel>().PiggyBankSwitch == 1)
@@ -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];
@@ -62,7 +62,6 @@ namespace ChillConnect
// ui.bg.y += 68;
ui.group_top.y += 68;
}
var anim_paly = FXManager.Instance.SetFx<SkeletonAnimation>(ui.gold.GetChild("gold_anim") as GGraph, Fx_Type.fx_coin, ref closeCallback);
anim_paly.state.SetAnimation(0, "animation", true);