using UnityEngine; using UnityEngine.UI; using TapTap.UI; using TapTap.Login.Internal.Http; using System; using TapTap.Common; namespace TapTap.Login.Internal { public class LoginPanelController : BasePanelController { public enum Type { Auth, Login } public class OpenParams : AbstractOpenPanelParameter { public Type Type { get; set; } public string ClientId { get; set; } public string[] Permissions { get; set; } public Action OnAuth { get; set; } public Action OnError { get; set; } public Action OnClose { get; set; } } private TitleController titleController; private QRCodeController qrcodeController; private WebController webController; protected override void BindComponents() { base.BindComponents(); Button closeBtn = transform.Find("TopBar/CloseButton").GetComponent