94 lines
2.3 KiB
C#
94 lines
2.3 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using UnityEngine.UIElements;
|
|
using Button = UnityEngine.UI.Button;
|
|
using Image = UnityEngine.UI.Image;
|
|
using Toggle = UnityEngine.UI.Toggle;
|
|
using ScrollView = PhxhSDK.PhxhScrollView;
|
|
using Framework;
|
|
|
|
public class UI_StartGameInterfaceController : UIWindow
|
|
{
|
|
//UI GameObj
|
|
///Auto Gen Start///
|
|
public Image Image_Bg;
|
|
public Image Image_BgDark;
|
|
public Button Button_StartGame;
|
|
public Image Image_LoginBg;
|
|
public Button Button_AccountLogin_1;
|
|
public Image Image_YellowLine_Account_1;
|
|
public Button Button_VerifyCodeLogin_1;
|
|
public Image Image_YellowLine_VerifyCode_1;
|
|
public TMP_InputField InputField_Account;
|
|
public Image Image_AccountIcon;
|
|
public TMP_InputField InputField_Password;
|
|
public Image Image_PasswordIcon;
|
|
public Toggle Toggle_RememberPassword;
|
|
public TMP_Text Text_RememberPassword;
|
|
public Toggle Toggle_Agreement_1;
|
|
public TMP_Text Text_Agreement_1;
|
|
public Button Button_UnLogin_1;
|
|
public Button Button_Login_1;
|
|
public TMP_InputField InputField_PhoneNumber;
|
|
public Image Image_PhoneIcon;
|
|
public TMP_InputField InputField_VerifyCode;
|
|
public Image Image_VerifyCodeIcon;
|
|
public Button Button_GetVerifyCode;
|
|
public Button Button_GetVerifyCodeCooling;
|
|
public Toggle Toggle_Agreement_2;
|
|
public TMP_Text Text_Agreement_2;
|
|
public Button Button_UnLogin;
|
|
public Button Button_Login;
|
|
public Image Image_UpdateBg;
|
|
public Button Button_Confirm;
|
|
public Button Button_Cancle;
|
|
public Image Image_BottomLine;
|
|
public Button Button_UserCenter;
|
|
public Button Button_Notice;
|
|
public TMP_Text Text_UID;
|
|
public TMP_Text Text_Version;
|
|
public Image Image_DarkSide;
|
|
|
|
///Auto Gen End///
|
|
|
|
// deal with input data
|
|
public override void PreLoad(object data = null)
|
|
{
|
|
|
|
}
|
|
|
|
// Use this for initialization
|
|
public override void OnInit()
|
|
{
|
|
//bind UI GameObj
|
|
UI_StartGameInterfaceBinder.GetComponents(this);
|
|
}
|
|
|
|
//invoke when open window
|
|
protected override void OnShowWindow(object data = null)
|
|
{
|
|
|
|
}
|
|
|
|
//invoke when reload window
|
|
protected override void OnReloadWindow(object data = null)
|
|
{
|
|
|
|
}
|
|
|
|
//invoke when close window
|
|
protected override void OnHideWindow()
|
|
{
|
|
|
|
}
|
|
|
|
//invoke when destroy
|
|
public override void OnRelease()
|
|
{
|
|
base.OnRelease();
|
|
}
|
|
}
|