提交
This commit is contained in:
@@ -5,6 +5,8 @@ using BingoBrain.HotFix;
|
||||
using Unity.VisualScripting;
|
||||
using DontConfuse;
|
||||
using FairyGUI;
|
||||
using DG.Tweening;
|
||||
|
||||
|
||||
|
||||
#if UNITY_EDITOR
|
||||
@@ -71,7 +73,7 @@ namespace BingoBrain
|
||||
private void OnLoadingComplete(object param = null)
|
||||
{
|
||||
CtrlDispatcher.Instance.Dispatch(CtrlMsg.Game_StartReady);
|
||||
TimerHelper.mEasy.AddTimer(0.1f, () =>
|
||||
DOVirtual.DelayedCall(0.1f, () =>
|
||||
{
|
||||
Audio.Instance.InitDefaultButtonClickSound(DoConst.UIButtonDefault);
|
||||
ModuleBoardk.Instance.AllModuleGameStart();
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace FGUI.ACommon
|
||||
public partial class btn_hall_h5 : GButton
|
||||
{
|
||||
public GTextField number_text;
|
||||
public GTextField lab_time;
|
||||
public const string URL = "ui://pmf3wbjimfb0pif";
|
||||
|
||||
public static btn_hall_h5 CreateInstance()
|
||||
@@ -19,7 +20,8 @@ namespace FGUI.ACommon
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
number_text = (GTextField)GetChildAt(3);
|
||||
number_text = (GTextField)GetChildAt(2);
|
||||
lab_time = (GTextField)GetChildAt(3);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,9 +7,9 @@ namespace FGUI.ACommon
|
||||
{
|
||||
public partial class com_broadcast1 : GComponent
|
||||
{
|
||||
public GButton btn_record;
|
||||
public com_broadcast_text1 broad_cast_text;
|
||||
public GGroup broad;
|
||||
public GButton btn_record;
|
||||
public GGroup group_;
|
||||
public Transition t0;
|
||||
public Transition t1;
|
||||
@@ -24,9 +24,9 @@ namespace FGUI.ACommon
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
btn_record = (GButton)GetChildAt(0);
|
||||
broad_cast_text = (com_broadcast_text1)GetChildAt(1);
|
||||
broad = (GGroup)GetChildAt(2);
|
||||
broad_cast_text = (com_broadcast_text1)GetChildAt(0);
|
||||
broad = (GGroup)GetChildAt(1);
|
||||
btn_record = (GButton)GetChildAt(2);
|
||||
group_ = (GGroup)GetChildAt(3);
|
||||
t0 = GetTransitionAt(0);
|
||||
t1 = GetTransitionAt(1);
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace FGUI.JMain
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(com_pal.URL, typeof(com_pal));
|
||||
UIObjectFactory.SetPackageItemExtension(item_pal.URL, typeof(item_pal));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_pal.URL, typeof(btn_pal));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_question.URL, typeof(btn_question));
|
||||
UIObjectFactory.SetPackageItemExtension(com_faq.URL, typeof(com_faq));
|
||||
UIObjectFactory.SetPackageItemExtension(com_list_main.URL, typeof(com_list_main));
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.JMain
|
||||
{
|
||||
public partial class btn_pal : GButton
|
||||
{
|
||||
public GTextField lab_time;
|
||||
public const string URL = "ui://qw9x6rf3dz5jpix";
|
||||
|
||||
public static btn_pal CreateInstance()
|
||||
{
|
||||
return (btn_pal)UIPackage.CreateObject("JMain", "btn_pal");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
lab_time = (GTextField)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8df9026b5e978de4e820114b10b88d07
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -21,7 +21,7 @@ namespace FGUI.JMain
|
||||
public btn_petty btn_petty;
|
||||
public GButton btn_play;
|
||||
public GButton btn_wb;
|
||||
public GButton btn_pal;
|
||||
public btn_pal btn_pal;
|
||||
public const string URL = "ui://qw9x6rf3lbaa0";
|
||||
|
||||
public static com_main CreateInstance()
|
||||
@@ -47,7 +47,7 @@ namespace FGUI.JMain
|
||||
btn_petty = (btn_petty)GetChildAt(14);
|
||||
btn_play = (GButton)GetChildAt(15);
|
||||
btn_wb = (GButton)GetChildAt(16);
|
||||
btn_pal = (GButton)GetChildAt(17);
|
||||
btn_pal = (btn_pal)GetChildAt(17);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -49,7 +49,7 @@ namespace BingoBrain.Core
|
||||
|
||||
public static void Enter()
|
||||
{
|
||||
if (false)
|
||||
if (PlayerPrefs.GetInt("is_gift") == 1)
|
||||
{
|
||||
AppDispatcher.Instance.Dispatch(CsjInfoC.UI_DisplayLoadingUI);
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ using DG.Tweening;
|
||||
using BingoBrain.HotFix;
|
||||
using DontConfuse;
|
||||
using System;
|
||||
using Spine;
|
||||
|
||||
|
||||
public class LoginSystem : BaseSystem
|
||||
@@ -93,9 +94,10 @@ public class LoginSystem : BaseSystem
|
||||
|
||||
if (loginData.is_magic)
|
||||
{
|
||||
if (true)
|
||||
if (PlayerPrefs.GetInt("is_gift") != 1)
|
||||
{
|
||||
AppDispatcher.Instance.Dispatch(CsjInfoC.UI_DisplayLoadingUI);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.LoginAUI_Close);
|
||||
}
|
||||
PlayerPrefs.SetInt("is_gift", 1);
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.7 MiB |
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user