using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Script;
using Stary.Evo;
using Stary.Evo.UIFarme;
using UnityEngine;
using UnityEngine.U2D;
using UnityEngine.UI;
using Random = UnityEngine.Random;
namespace Unity.RenderStreaming
{
public class StartPanel : BasePanel
{
///
/// 返回按钮
///
private Button _arrowLeft;
private Text _meetingId;
///
/// 房间号输入框
///
private InputField _meetingNameInput;
private Image _profileImage;
///
/// 头像按钮
///
private Button _profilePhoto;
private int _profileSpriteIndex;
private Sprite[] _profileSprites;
///
/// 随机房间号按钮
///
private Button _randomMeetingId;
///
/// 头像Sprite Atlas
///
private SpriteAtlas _spriteAtlas;
///
/// 开始按钮
///
private Button _startButton;
///
/// 时间下拉选择框
///
private Dropdown _timeDropdown;
public override UITweenType TweenType => UITweenType.Fade;
public override string UIPath => "Canvas";
public override void Initialize(GameObject panelGo)
{
base.Initialize(panelGo);
_arrowLeft = panelGo.transform.Find("Herder/arrow-left").GetComponent