using System;
using System.Threading.Tasks;
using Activity;
using asap.core;
using Event1v1Battle.Data;
using GameCore;
using TimeManager;
using TMPro;
using UniRx;
using UnityEngine;
using UnityEngine.UI;
namespace Event1v1Battle.Panel
{
///
/// Event1v1BattleSlapReviewPopupPanel
///
public class Event1v1BattleSlapFacePopupPanel:BasePanel
{
private Button _btnStart; // 开始按钮
private Button _btnClose; // 关闭按钮
private TMP_Text _textEventTime; // 活动剩余时间
#region Manager
private Event1v1BattleSlapManager _manager;
private Event1v1BattleSlapManager Manager => _manager ??= ActivityResolver.Resolve();
private Event1v1BattleSlapData Data => Manager?.LoadData();
#endregion
private Animation _uiAnimation;
private void Awake()
{
// Buttons
_btnStart = gameObject.FindChildGameObject("btn_go")?.GetComponentInChildren