using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class MessagePanel : Regist { #region Config public static Action OnPanelClosed; public static Text NicknameTitle; public static Text ContentTitle; public static Text TimeTitle; public static Text PanelTitle; public static Text PlaceholderTitle; public static Text InputText; public static Text SendMessageButtonTitle; public static Text CloseButtonTitle; public static Text LoadingTitle; public static Button CloseButton; public static Button SendMessageButton; public static Transform Grid; public static Transform MessagePanelMask; public static InputField InputField; public static ScrollRectPlus ScrollRect; public static AccountData AccountData; #endregion public override void RegistReference() { NicknameTitle = ResourceManager.Get(ObjectLabel.AH_NicknameTitle); ContentTitle = ResourceManager.Get(ObjectLabel.AH_ContentTitle); TimeTitle = ResourceManager.Get(ObjectLabel.AH_TimeTitle); PanelTitle = ResourceManager.Get(ObjectLabel.AH_PanelTitle); PlaceholderTitle = ResourceManager.Get(ObjectLabel.AH_PlaceholderTitle); InputText = ResourceManager.Get(ObjectLabel.AH_InputText); SendMessageButtonTitle = ResourceManager.Get(ObjectLabel.AH_SendMessageButtonTitle); CloseButtonTitle = ResourceManager.Get(ObjectLabel.AH_CloseButtonTitle); LoadingTitle = ResourceManager.Get(ObjectLabel.AH_LoadingTitle); CloseButton = ResourceManager.Get