提交
This commit is contained in:
@@ -5,6 +5,8 @@ using BingoBrain.HotFix;
|
|||||||
using Unity.VisualScripting;
|
using Unity.VisualScripting;
|
||||||
using DontConfuse;
|
using DontConfuse;
|
||||||
using FairyGUI;
|
using FairyGUI;
|
||||||
|
using DG.Tweening;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
@@ -71,7 +73,7 @@ namespace BingoBrain
|
|||||||
private void OnLoadingComplete(object param = null)
|
private void OnLoadingComplete(object param = null)
|
||||||
{
|
{
|
||||||
CtrlDispatcher.Instance.Dispatch(CtrlMsg.Game_StartReady);
|
CtrlDispatcher.Instance.Dispatch(CtrlMsg.Game_StartReady);
|
||||||
TimerHelper.mEasy.AddTimer(0.1f, () =>
|
DOVirtual.DelayedCall(0.1f, () =>
|
||||||
{
|
{
|
||||||
Audio.Instance.InitDefaultButtonClickSound(DoConst.UIButtonDefault);
|
Audio.Instance.InitDefaultButtonClickSound(DoConst.UIButtonDefault);
|
||||||
ModuleBoardk.Instance.AllModuleGameStart();
|
ModuleBoardk.Instance.AllModuleGameStart();
|
||||||
@@ -87,7 +89,7 @@ namespace BingoBrain
|
|||||||
|
|
||||||
int offset_y = ConfigSystem.GetConfig<CommonModel>().WVOffset[0];
|
int offset_y = ConfigSystem.GetConfig<CommonModel>().WVOffset[0];
|
||||||
int offset_y1 = ConfigSystem.GetConfig<CommonModel>().WVOffset[1];
|
int offset_y1 = ConfigSystem.GetConfig<CommonModel>().WVOffset[1];
|
||||||
Debug.Log("barry offset_y: " + offset_y + " offset_y1: " + offset_y1);
|
Debug.Log("barry offset_y: " + offset_y + " offset_y1: " + offset_y1);
|
||||||
float top_offset = 150;//fgui中的顶部信息的高度
|
float top_offset = 150;//fgui中的顶部信息的高度
|
||||||
float buttom_offset = 0;
|
float buttom_offset = 0;
|
||||||
if (Screen.safeArea.y != 0)
|
if (Screen.safeArea.y != 0)
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ namespace FGUI.ACommon
|
|||||||
public partial class btn_hall_h5 : GButton
|
public partial class btn_hall_h5 : GButton
|
||||||
{
|
{
|
||||||
public GTextField number_text;
|
public GTextField number_text;
|
||||||
|
public GTextField lab_time;
|
||||||
public const string URL = "ui://pmf3wbjimfb0pif";
|
public const string URL = "ui://pmf3wbjimfb0pif";
|
||||||
|
|
||||||
public static btn_hall_h5 CreateInstance()
|
public static btn_hall_h5 CreateInstance()
|
||||||
@@ -19,7 +20,8 @@ namespace FGUI.ACommon
|
|||||||
{
|
{
|
||||||
base.ConstructFromXML(xml);
|
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 partial class com_broadcast1 : GComponent
|
||||||
{
|
{
|
||||||
public GButton btn_record;
|
|
||||||
public com_broadcast_text1 broad_cast_text;
|
public com_broadcast_text1 broad_cast_text;
|
||||||
public GGroup broad;
|
public GGroup broad;
|
||||||
|
public GButton btn_record;
|
||||||
public GGroup group_;
|
public GGroup group_;
|
||||||
public Transition t0;
|
public Transition t0;
|
||||||
public Transition t1;
|
public Transition t1;
|
||||||
@@ -24,9 +24,9 @@ namespace FGUI.ACommon
|
|||||||
{
|
{
|
||||||
base.ConstructFromXML(xml);
|
base.ConstructFromXML(xml);
|
||||||
|
|
||||||
btn_record = (GButton)GetChildAt(0);
|
broad_cast_text = (com_broadcast_text1)GetChildAt(0);
|
||||||
broad_cast_text = (com_broadcast_text1)GetChildAt(1);
|
broad = (GGroup)GetChildAt(1);
|
||||||
broad = (GGroup)GetChildAt(2);
|
btn_record = (GButton)GetChildAt(2);
|
||||||
group_ = (GGroup)GetChildAt(3);
|
group_ = (GGroup)GetChildAt(3);
|
||||||
t0 = GetTransitionAt(0);
|
t0 = GetTransitionAt(0);
|
||||||
t1 = GetTransitionAt(1);
|
t1 = GetTransitionAt(1);
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ namespace FGUI.JMain
|
|||||||
{
|
{
|
||||||
UIObjectFactory.SetPackageItemExtension(com_pal.URL, typeof(com_pal));
|
UIObjectFactory.SetPackageItemExtension(com_pal.URL, typeof(com_pal));
|
||||||
UIObjectFactory.SetPackageItemExtension(item_pal.URL, typeof(item_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(btn_question.URL, typeof(btn_question));
|
||||||
UIObjectFactory.SetPackageItemExtension(com_faq.URL, typeof(com_faq));
|
UIObjectFactory.SetPackageItemExtension(com_faq.URL, typeof(com_faq));
|
||||||
UIObjectFactory.SetPackageItemExtension(com_list_main.URL, typeof(com_list_main));
|
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 btn_petty btn_petty;
|
||||||
public GButton btn_play;
|
public GButton btn_play;
|
||||||
public GButton btn_wb;
|
public GButton btn_wb;
|
||||||
public GButton btn_pal;
|
public btn_pal btn_pal;
|
||||||
public const string URL = "ui://qw9x6rf3lbaa0";
|
public const string URL = "ui://qw9x6rf3lbaa0";
|
||||||
|
|
||||||
public static com_main CreateInstance()
|
public static com_main CreateInstance()
|
||||||
@@ -47,7 +47,7 @@ namespace FGUI.JMain
|
|||||||
btn_petty = (btn_petty)GetChildAt(14);
|
btn_petty = (btn_petty)GetChildAt(14);
|
||||||
btn_play = (GButton)GetChildAt(15);
|
btn_play = (GButton)GetChildAt(15);
|
||||||
btn_wb = (GButton)GetChildAt(16);
|
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()
|
public static void Enter()
|
||||||
{
|
{
|
||||||
if (false)
|
if (PlayerPrefs.GetInt("is_gift") == 1)
|
||||||
{
|
{
|
||||||
AppDispatcher.Instance.Dispatch(CsjInfoC.UI_DisplayLoadingUI);
|
AppDispatcher.Instance.Dispatch(CsjInfoC.UI_DisplayLoadingUI);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ using DG.Tweening;
|
|||||||
using BingoBrain.HotFix;
|
using BingoBrain.HotFix;
|
||||||
using DontConfuse;
|
using DontConfuse;
|
||||||
using System;
|
using System;
|
||||||
|
using Spine;
|
||||||
|
|
||||||
|
|
||||||
public class LoginSystem : BaseSystem
|
public class LoginSystem : BaseSystem
|
||||||
@@ -93,9 +94,10 @@ public class LoginSystem : BaseSystem
|
|||||||
|
|
||||||
if (loginData.is_magic)
|
if (loginData.is_magic)
|
||||||
{
|
{
|
||||||
if (true)
|
if (PlayerPrefs.GetInt("is_gift") != 1)
|
||||||
{
|
{
|
||||||
AppDispatcher.Instance.Dispatch(CsjInfoC.UI_DisplayLoadingUI);
|
AppDispatcher.Instance.Dispatch(CsjInfoC.UI_DisplayLoadingUI);
|
||||||
|
UICtrlDispatcher.Instance.Dispatch(SkinInfo.LoginAUI_Close);
|
||||||
}
|
}
|
||||||
PlayerPrefs.SetInt("is_gift", 1);
|
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