using System; using System.Collections.Generic; using RenderStreaming; using Script.Util; using Stary.Evo; using Unity.RenderStreaming; using UnityEngine; using UnityEngine.UI; namespace Script { public class MeetingChat : IController { public GameObject PanelGo; private MainPanel _mainPanel; private Transform _content; private GameObjectPool _objectRightPool; private GameObjectPool _objectLeftPool; private Text _connectionTimeText; private Text _userCountText; public Action OnUserCountChangedEvent; private List _chatDatas = new(); private InputField _messageInput; private Button _sendButton; public void Initialize(GameObject panelGo, MainPanel mainPanel) { PanelGo = panelGo; _mainPanel = mainPanel; _content = panelGo.transform.Find("MeetingGrid/Viewport/Content"); _objectLeftPool = panelGo.transform.Find("MeetingGrid/LeftPool").GetComponent(); _objectRightPool = panelGo.transform.Find("MeetingGrid/RightPool").GetComponent(); _connectionTimeText = panelGo.transform.Find("MeetingNum/Time").GetComponent(); _userCountText = panelGo.transform.Find("MeetingNum/Num").GetComponent(); _messageInput = panelGo.transform.Find("MettingSend/InputField").GetComponent(); _sendButton = panelGo.transform.Find("MettingSend/SendBtn").GetComponent