using System;
using HuaweiService.Auth;
using UnityEngine;
using UnityEngine.UI;
namespace HuaweiAuthDemo
{
[Serializable]
public class ActionBar
{
public RectTransform container;
public RectTransform content;
public Transform title;
public Transform separationLine;
public Button closeButton;
public Button backButton;
}
[Serializable]
public class Footer
{
public RectTransform rectTransform;
public Button secondaryActionButton;
public Transform separationLine;
}
///
/// Base class for all panels
///
public abstract class AbstractPanel : MonoBehaviour
{
private Canvas canvas;
public AbstractPanel ParentPanel;
public ActionBar actionBar;
public Footer secondaryActionFooter;
void Awake()
{
canvas = gameObject.GetComponent