fix:1、添加兑换code界面。2、更改单双指的禁用和开启(打开其他界面时)
This commit is contained in:
@@ -62,5 +62,6 @@ namespace ChillConnect
|
||||
public static uint ThemeChange = ++Cursor_BASE;
|
||||
public static uint UpdateSpeed = ++Cursor_BASE;
|
||||
public static uint UseProps = ++Cursor_BASE;
|
||||
public static uint StopArrowTouch = ++Cursor_BASE;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -139,5 +139,7 @@ namespace ChillConnect
|
||||
public static uint GameAgainUI_Close = ++cursor_OpenClose;
|
||||
public static uint ArrowThemeUI_Open = ++cursor_OpenClose;
|
||||
public static uint ArrowThemeUI_Close = ++cursor_OpenClose;
|
||||
public static uint RedeemCodeUI_Open = ++cursor_OpenClose;
|
||||
public static uint RedeemCodeUI_Close = ++cursor_OpenClose;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.tixian
|
||||
{
|
||||
public partial class com_redeem_code : GComponent
|
||||
{
|
||||
public GTextField text_title;
|
||||
public GButton btn_close;
|
||||
public GTextField lab_mn2;
|
||||
public GTextField lab_ticket;
|
||||
public GTextField lab_code;
|
||||
public btn_code btn_copy;
|
||||
public btn_code btn_contact_us;
|
||||
public GButton btn_back;
|
||||
public const string URL = "ui://md8tkwlzrftfel";
|
||||
|
||||
public static com_redeem_code CreateInstance()
|
||||
{
|
||||
return (com_redeem_code)UIPackage.CreateObject("tixian", "com_redeem_code");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
text_title = (GTextField)GetChildAt(1);
|
||||
btn_close = (GButton)GetChildAt(2);
|
||||
lab_mn2 = (GTextField)GetChildAt(6);
|
||||
lab_ticket = (GTextField)GetChildAt(14);
|
||||
lab_code = (GTextField)GetChildAt(16);
|
||||
btn_copy = (btn_code)GetChildAt(17);
|
||||
btn_contact_us = (btn_code)GetChildAt(18);
|
||||
btn_back = (GButton)GetChildAt(22);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 413711e293fa68749b198e91ac5bb9b7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -25,6 +25,7 @@ namespace FGUI.tixian
|
||||
UIObjectFactory.SetPackageItemExtension(com_cord.URL, typeof(com_cord));
|
||||
UIObjectFactory.SetPackageItemExtension(com_rank.URL, typeof(com_rank));
|
||||
UIObjectFactory.SetPackageItemExtension(com_newRecord.URL, typeof(com_newRecord));
|
||||
UIObjectFactory.SetPackageItemExtension(com_redeem_code.URL, typeof(com_redeem_code));
|
||||
UIObjectFactory.SetPackageItemExtension(com_ticket_item.URL, typeof(com_ticket_item));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_kicket.URL, typeof(btn_kicket));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_code.URL, typeof(btn_code));
|
||||
|
||||
@@ -459,7 +459,8 @@ namespace ChillConnect
|
||||
//is debug test--------
|
||||
|
||||
|
||||
// return true;//zhushi
|
||||
return true;//zhushi
|
||||
// return false;//zhushi
|
||||
// return false;//zhushi
|
||||
return GetLoginModel().IsMagic;
|
||||
}
|
||||
|
||||
@@ -157,7 +157,8 @@ namespace ChillConnect
|
||||
private void EnterGame(object obj)
|
||||
{
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.MainUI_Close);
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.RainPlayUI_Open);
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.ArrowGameUI_Open);
|
||||
// UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.RainPlayUI_Open);
|
||||
AudioManager.Instance.StopBGM();
|
||||
|
||||
AudioManager.Instance.PlayBGM(AudioConst.GameBg);
|
||||
|
||||
Reference in New Issue
Block a user